diff --git a/src/components/mypage/myProfile/myProfile.tsx b/src/components/mypage/myProfile/myProfile.tsx index a482847a..832b3918 100644 --- a/src/components/mypage/myProfile/myProfile.tsx +++ b/src/components/mypage/myProfile/myProfile.tsx @@ -131,9 +131,7 @@ const MyProfile = () => { const { fields, append, remove } = useFieldArray({ control, name: 'career' }); const handleCheckNickName = (nickname: string) => { - if (nickname !== myData?.nickname) { - handleNickname(nickname); - } + handleNickname(nickname); }; const onSubmit = (data: ProfileFormData, e?: React.BaseSyntheticEvent) => { diff --git a/src/pages/login/Login.styled.ts b/src/pages/login/Login.styled.ts index 652f2aae..3f2b3c2f 100644 --- a/src/pages/login/Login.styled.ts +++ b/src/pages/login/Login.styled.ts @@ -4,6 +4,7 @@ export const Container = styled.div` display: flex; width: 100%; max-width: ${({ theme }) => theme.layout.width.desktop}; + min-width: 310px; margin: 0 auto; flex-direction: column; align-items: center; @@ -32,6 +33,7 @@ export const Container = styled.div` export const InputContainer = styled.div` display: flex; + min-width: 310px; gap: 0.6rem; button { @@ -44,7 +46,7 @@ export const InputContainer = styled.div` export const InputWrapper = styled.div` max-width: 310px; - width: 70%; + width: inherit; margin-bottom: 1.875rem; position: relative; `;