From bec74a8da35e3725005ec3cacc8ba18c76efb124 Mon Sep 17 00:00:00 2001 From: Sanghyeok Park Date: Wed, 22 May 2024 14:10:52 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20PasswordTextField=EC=9D=98=20isMark?= =?UTF-8?q?ed=EC=97=90=20=EA=B8=B0=EB=B3=B8=EA=B0=92=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CurrentPasswordForm/CurrentPasswordForm.tsx | 1 - .../ChangePasswordContents/NewPasswordForm/NewPasswordForm.tsx | 2 -- src/home/components/SignupContents/SignupForm/SignupForm.tsx | 1 - src/home/pages/Login/Login.tsx | 1 - 4 files changed, 5 deletions(-) diff --git a/src/home/components/ChangePasswordContents/CurrentPasswordForm/CurrentPasswordForm.tsx b/src/home/components/ChangePasswordContents/CurrentPasswordForm/CurrentPasswordForm.tsx index e2692012..551e0032 100644 --- a/src/home/components/ChangePasswordContents/CurrentPasswordForm/CurrentPasswordForm.tsx +++ b/src/home/components/ChangePasswordContents/CurrentPasswordForm/CurrentPasswordForm.tsx @@ -31,7 +31,6 @@ export const CurrentPasswordForm = (props: CurrentPasswordFormProps) => { onChange={(e) => handlePasswordChange(e.target.value)} isNegative={isError} helperLabel={isError ? '비밀번호가 일치하지 않습니다.' : ''} - isMarked={true} /> diff --git a/src/home/components/ChangePasswordContents/NewPasswordForm/NewPasswordForm.tsx b/src/home/components/ChangePasswordContents/NewPasswordForm/NewPasswordForm.tsx index 1297f8b7..5b80b9f2 100644 --- a/src/home/components/ChangePasswordContents/NewPasswordForm/NewPasswordForm.tsx +++ b/src/home/components/ChangePasswordContents/NewPasswordForm/NewPasswordForm.tsx @@ -45,7 +45,6 @@ export const NewPasswordForm = ({ sessionToken }: NewPasswordFormProps) => { helperLabel={ isNewPasswordFieldNegative ? '숫자와 영문자 조합으로 8자 이상 입력해주세요.' : '' } - isMarked={true} /> = 8 ? 'active' : ''} @@ -56,7 +55,6 @@ export const NewPasswordForm = ({ sessionToken }: NewPasswordFormProps) => { onChange={(e) => setNewPasswordCheck(e.target.value)} isNegative={isRepeatPasswordFieldNegative} helperLabel={isRepeatPasswordFieldNegative ? '비밀번호가 일치하지 않습니다.' : ''} - isMarked={true} /> diff --git a/src/home/components/SignupContents/SignupForm/SignupForm.tsx b/src/home/components/SignupContents/SignupForm/SignupForm.tsx index 694dc4d4..b004f428 100644 --- a/src/home/components/SignupContents/SignupForm/SignupForm.tsx +++ b/src/home/components/SignupContents/SignupForm/SignupForm.tsx @@ -41,7 +41,6 @@ export const SignupForm = ({ email, onConfirm }: SignupFormProps) => { fieldLabel="사용할 비밀번호를 입력해주세요." helperLabel="숫자와 영문자 조합으로 8자 이상 입력해주세요" placeholder="비밀번호" - isMarked={true} isNegative={!isPasswordValid && passwordValidOnce.current} onChange={(e) => { if (isPasswordValid) passwordValidOnce.current = true; diff --git a/src/home/pages/Login/Login.tsx b/src/home/pages/Login/Login.tsx index c10a6b38..1e9ef2ff 100644 --- a/src/home/pages/Login/Login.tsx +++ b/src/home/pages/Login/Login.tsx @@ -85,7 +85,6 @@ export const Login = () => { placeholder="영문숫자포함8글자" onChange={(e) => setPassword(e.target.value)} isNegative={failedLogin} - isMarked={true} />