diff --git a/src/hooks/useUser.ts b/src/hooks/useUser.ts index 2df16d3c..b4851258 100644 --- a/src/hooks/useUser.ts +++ b/src/hooks/useUser.ts @@ -30,7 +30,7 @@ const useUser = (options?: UseUserOptions) => { error, refetch, } = useQuery( - [KEY.USER, Storage.getItem(TOKEN.ACCESS)], + [KEY.USER], async () => { const { data } = await httpClient.user.get(authorization()); return data;