From 4d8c45a6138db4c3e7429837bd19f389cf0c7af8 Mon Sep 17 00:00:00 2001 From: Chung-il Jung Date: Mon, 9 Sep 2024 21:51:53 +0900 Subject: [PATCH] feat: CssTextField component remove --- src/components/Etc/CssTextField.ts | 14 -------------- src/components/Major/MajorSearch.tsx | 24 ++---------------------- src/pages/Exit.tsx | 8 ++++---- src/pages/IdSearch.tsx | 6 +++--- src/pages/Login.tsx | 8 ++++---- src/pages/PwSearch.tsx | 8 ++++---- src/pages/ResetPassword.tsx | 8 ++++---- src/pages/SignUp.tsx | 10 +++++----- 8 files changed, 26 insertions(+), 60 deletions(-) delete mode 100644 src/components/Etc/CssTextField.ts diff --git a/src/components/Etc/CssTextField.ts b/src/components/Etc/CssTextField.ts deleted file mode 100644 index 1ad414c8..00000000 --- a/src/components/Etc/CssTextField.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { TextField } from '@mui/material'; -import * as styles from '@mui/material/styles'; - -export const CssTextField = styles.styled(TextField)({ - '& label.Mui-focused': { - color: '#336af8', - }, - '& .MuiInput-underline:after': { - borderBottomColor: '#336af8', - }, - '& .MuiInput-underline:before': { - borderBottomColor: '#336af8', - }, -}); diff --git a/src/components/Major/MajorSearch.tsx b/src/components/Major/MajorSearch.tsx index 4efb8aaa..46431500 100644 --- a/src/components/Major/MajorSearch.tsx +++ b/src/components/Major/MajorSearch.tsx @@ -1,6 +1,5 @@ import styled from '@emotion/styled'; import { TextField } from '@mui/material'; -import * as styles from '@mui/material/styles'; import useFavoriteMajor from 'hooks/useFavoriteMajor'; import { Fragment, useState } from 'react'; @@ -22,7 +21,8 @@ const MajorSearch = ({ - { 회원탈퇴 아이디를 입력하세요 - 비밀번호를 입력하세요 - { 아이디 찾기 학교 계정을 입력하세요 - { 로그인 - - { 비밀번호 찾기 아이디에 해당하는 학교 이메일로 임시 비밀번호를 전송합니다 - - { 비밀번호 변경 기존 비밀번호를 입력하세요 - { 새로운 비밀번호를 입력하세요 - { 회원가입 - { {errors.loginId && {errors.loginId.message}} - { {...register('password', validatePassword)} /> {errors.password && {errors.password.message}} - { /> {errors.passwordConfirm && {errors.passwordConfirm.message}} -