Skip to content

Commit

Permalink
chore: 로그인 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
im-na0 committed Jan 27, 2024
1 parent 733177d commit 726b2c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/signInPage/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const SignIn = () => {
vapidKey: import.meta.env.VITE_FIREBASE_VAPID,
});

console.log(fcmToken);

await postLogin({ email, password, fcmToken })
.then((loginData) => {
const { memberResponse, tokenResponse } = loginData;
Expand All @@ -54,7 +56,8 @@ const SignIn = () => {

navigate(PATH.ROOT, { replace: true });
})
.catch(() => {
.catch((err) => {
console.log(err);
handleToast(false, [<>아이디 혹은 비밀번호를 확인해주세요</>]);
});
};
Expand Down

0 comments on commit 726b2c4

Please sign in to comment.