Skip to content

Commit

Permalink
fix: console.log로 찍어보기
Browse files Browse the repository at this point in the history
  • Loading branch information
Wang HoEun committed Jan 11, 2024
1 parent 145b6f4 commit b363c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/queries/user/useLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const useLogin = () => {
console.log('실행');
fetchAuth(code).then((response: LoginResponseType) => {
const data = response.data;
const JWT = data.memberToken.accessToken;
const JWT = data.memberToken;
if (data) {
localStorage.setItem('EXIT_LOGIN_TOKEN', JWT);
//localStorage.setItem('EXIT_LOGIN_TOKEN', JWT);
console.log(data);
console.log(JWT);
}
Expand Down

0 comments on commit b363c08

Please sign in to comment.