Skip to content

Commit

Permalink
chore(user): 유저 액세스토큰 의존성 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubinquitous committed Oct 3, 2023
1 parent 32ec762 commit 552511b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const useUser = (options?: UseUserOptions) => {
error,
refetch,
} = useQuery<IUser>(
[KEY.USER, Storage.getItem(TOKEN.ACCESS)],
[KEY.USER],
async () => {
const { data } = await httpClient.user.get(authorization());
return data;
Expand Down

0 comments on commit 552511b

Please sign in to comment.