Skip to content

Commit

Permalink
πŸ”§ chore: session 없을 μ‹œ μ „μ—­ user 데이터 μ‚­μ œ #50
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Oct 6, 2024
1 parent ef58e08 commit e59f4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/session/useInitializeUserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const useInitializeUserProfile = () => {

if (session) {
const { user } = session;

setUser({ ...user });
return setUser(user);
}
setUser(null);
} catch (error) {
log(error);
}
Expand Down

0 comments on commit e59f4dc

Please sign in to comment.