File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { useSignUpForm } from '@/page/signup/hook/useSignUpForm';
99import { PATH } from '@/route' ;
1010import { usePostSignUp } from '@/api/domain/signup/hook/usePostSignup' ;
1111import type { SignupRequest } from '@/api/domain/signup/type/SignupRequest' ;
12+ import { useGoogleAuth } from '@/common/hook/useGoogleAuth' ;
1213
1314const SIGNUP_MESSAGE = '회원가입 후 NiNE DOT를 만나보세요!' ;
1415const FIT_INFO_MESSAGE = '내 성향을 선택하고 맞춤형 목표 추천을 받아보세요' ;
@@ -48,8 +49,8 @@ const SignUp = () => {
4849
4950 signUp ( payload , {
5051 onSuccess : ( ) => {
51- console . log ( userData . onboardingPage ) ;
52- navigate ( PATH . INTRO , { state : { pageState : userData . onboardingPage } } ) ;
52+ useGoogleAuth ( ) ;
53+ navigate ( PATH . INTRO , { state : { pageState : 'MANDALART' } } ) ;
5354 } ,
5455 onError : ( ) => { } ,
5556 } ) ;
You can’t perform that action at this time.
0 commit comments