Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: YDS 1.1.1 변경사항 적용 #193

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const CurrentPasswordForm = (props: CurrentPasswordFormProps) => {
onChange={(e) => handlePasswordChange(e.target.value)}
isNegative={isError}
helperLabel={isError ? '비밀번호가 일치하지 않습니다.' : ''}
isMarked={true}
/>
</StyledInputContainer>
<StyledButtonContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const NewPasswordForm = ({ sessionToken }: NewPasswordFormProps) => {
helperLabel={
isNewPasswordFieldNegative ? '숫자와 영문자 조합으로 8자 이상 입력해주세요.' : ''
}
isMarked={true}
/>
<StyledInputAnimation
className={!isNewPasswordError && newPassword.length >= 8 ? 'active' : ''}
Expand All @@ -56,7 +55,6 @@ export const NewPasswordForm = ({ sessionToken }: NewPasswordFormProps) => {
onChange={(e) => setNewPasswordCheck(e.target.value)}
isNegative={isRepeatPasswordFieldNegative}
helperLabel={isRepeatPasswordFieldNegative ? '비밀번호가 일치하지 않습니다.' : ''}
isMarked={true}
/>
</StyledInputAnimation>
</StyledInputContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/home/pages/Login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export const Login = () => {
placeholder="영문숫자포함8글자"
onChange={(e) => setPassword(e.target.value)}
isNegative={failedLogin}
isMarked={true}
/>

<BoxButton size="large" rounding={8} variant="filled" onClick={handleLoginClick}>
Expand Down
Loading