Skip to content

Commit

Permalink
fix: 타입에 맞게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
urjimyu committed May 27, 2024
1 parent c3e0233 commit e24ca19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/queries/usePostKakao.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const usePostKakao = () => {
console.log('TYPE', typeof accessToken);
console.log('TOKEN', accessToken);
const res = await kakao.postKakaoLogin({ kakaoToken: accessToken, fcmToken: '0' });
const data: KakaoLoginResponseType = res.data.data;
const data: KakaoLoginResponseType = res.data;
console.log('data', data);
setKakaoResponse({
userId: data.data.userId,
accessToken: data.data.accessToken,
Expand Down

0 comments on commit e24ca19

Please sign in to comment.