diff --git a/apis/hooks/auth.ts b/apis/hooks/auth.ts index 165ebfb..f56c228 100644 --- a/apis/hooks/auth.ts +++ b/apis/hooks/auth.ts @@ -17,7 +17,7 @@ function useSignUp(userData: userProps) { mutationKey: ["signUp"], mutationFn: () => SignUp(userData), onSuccess: () => { - router.push("/login"); + route.push("/success"); }, onError: (error: Error) => { window.alert("다시 회원가입해주세요."); diff --git a/pages/login.tsx b/pages/login.tsx index 06e84e4..def1f7b 100644 --- a/pages/login.tsx +++ b/pages/login.tsx @@ -83,6 +83,7 @@ const Login: NextPage = () => { ref={idInputRef} value={userInfo.loginId} onChange={onChange} + className="w-[19.5rem]" /> { ref={pwInputRef} value={userInfo.password} onChange={onChange} + className="w-[19.5rem]" />