fix(web): use default profile query cache (#36832)

This commit is contained in:
yyh 2026-05-29 22:18:39 +08:00 committed by GitHub
parent 9490d63c50
commit 91ac465982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View File

@ -35,7 +35,5 @@ export const userProfileQueryOptions = () =>
},
}
},
staleTime: 0,
gcTime: 0,
retry: (failureCount, error) => !isLegacyBase401(error) && failureCount < 3,
})

View File

@ -75,7 +75,5 @@ export const serverUserProfileQueryOptions = () =>
},
}
},
staleTime: 0,
gcTime: 0,
retry: false,
})