Skip to content

Commit

Permalink
Update web/src/hooks/queries/useUserSettings.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
jaybuidl and coderabbitai[bot] authored May 30, 2024
1 parent ae33bdd commit 9b7418c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/hooks/queries/useUserSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const useUserSettings = () => {
return useQuery({
queryKey: [`UserSettings`],
enabled: isEnabled,
staleTime: Infinity,
staleTime: Number.POSITIVE_INFINITY,
queryFn: async () => {
try {
if (!authToken) return;
Expand Down

0 comments on commit 9b7418c

Please sign in to comment.