From 5a6f2a29344c8744b8188c4e3adb767167301027 Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Wed, 3 Jul 2024 17:29:57 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#16=20fix:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?UI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/hooks/auth.ts | 2 +- pages/login.tsx | 2 ++ pages/signup.tsx | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) 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]" />