diff --git a/client/src/app/(logoutOnly)/auth/signup/layout.tsx b/client/src/app/(logoutOnly)/auth/signup/layout.tsx index 5dfd381..f3620c9 100644 --- a/client/src/app/(logoutOnly)/auth/signup/layout.tsx +++ b/client/src/app/(logoutOnly)/auth/signup/layout.tsx @@ -20,7 +20,7 @@ const layout = ({ children }: layoutProps) => { return ( - (""); const { mutateAsync: signupHandler } = useSignupMutation(); + const submitHandler = useCallback(async (data: SignupRequirement) => { try { await signupHandler(data); @@ -99,7 +100,7 @@ export default function SignUpPage() { > - {MultistepForm} - { - !isLastStep ? next() : submitHandler(formData); - }} - size="large" - disabled={disableBtn} - > - {!isLastStep ? "다음" : "투파이아 시작하기"} - +
{ + e.preventDefault() + !isLastStep ? next() : submitHandler(formData); + }}> + {MultistepForm} + + {!isLastStep ? "다음" : "투파이아 시작하기"} + +
); }