Skip to content

Commit 9b7418c

Browse files
Update web/src/hooks/queries/useUserSettings.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ae33bdd commit 9b7418c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/hooks/queries/useUserSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const useUserSettings = () => {
99
return useQuery({
1010
queryKey: [`UserSettings`],
1111
enabled: isEnabled,
12-
staleTime: Infinity,
12+
staleTime: Number.POSITIVE_INFINITY,
1313
queryFn: async () => {
1414
try {
1515
if (!authToken) return;

0 commit comments

Comments
 (0)