diff --git a/packages/app/modules/auth/hooks/useUser.ts b/packages/app/modules/auth/hooks/useUser.ts index c25b9c75e..4a98c9c3c 100644 --- a/packages/app/modules/auth/hooks/useUser.ts +++ b/packages/app/modules/auth/hooks/useUser.ts @@ -17,8 +17,6 @@ export const useUserQuery = () => { isLoading: isRequestLoading, } = queryTrpc.getMe.useQuery(undefined, { enabled: isRequestEnabled, - staleTime: Infinity, - cacheTime: Infinity, }); // Sometimes the isLoading state don't work as expected so we have this solution here