We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfea765 commit 06a9f25Copy full SHA for 06a9f25
1 file changed
components/auth/LoginForm.tsx
@@ -36,7 +36,7 @@ const LoginForm = ({ handleOpenModal }: LoginFormProps) => {
36
);
37
const user = result.user;
38
// console.log('로그인 성공 : ', user);
39
- router.push('/main');
+ router.push('/');
40
} catch (err: unknown) {
41
if (err instanceof Error) {
42
}
@@ -65,7 +65,7 @@ const LoginForm = ({ handleOpenModal }: LoginFormProps) => {
65
password
66
67
// console.log('로그인 성공!', userCredential.user);
68
69
} catch (err) {
70
// console.error('로그인 에러:', err);
71
setError('이메일 또는 비밀번호가 잘못되었습니다.');
0 commit comments