Skip to content

Commit

Permalink
🐛 [Fix]: 로그인 시 isNecessaryInfo 확인 수정
Browse files Browse the repository at this point in the history
🐛 [Fix]: 로그인 시 isNecessaryInfo 확인 수정
  • Loading branch information
seungheon123 authored Dec 2, 2024
2 parents f285d19 + 00145fe commit eb37cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/pages/Auth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Auth() {
}

setLogIn(accessToken);
if (isNecessaryInfo) navigate('/', { replace: true });
if (isNecessaryInfo === 'true') navigate('/', { replace: true });
else navigate('/profile', { replace: true });
} catch (err) {
setError(err instanceof Error ? err : new Error('로그인 처리 중 오류'));
Expand Down

0 comments on commit eb37cd1

Please sign in to comment.