Skip to content

Commit

Permalink
Merge pull request #1240 from andrew-bierman/fix/auth-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-bierman authored Sep 16, 2024
2 parents 2dd2ffc + 8064827 commit fc4ed03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/app/modules/auth/hooks/useUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc4ed03

Please sign in to comment.