fix: resolve user profile dropdown cache sync issue across layouts (#23937)

This commit is contained in:
lyzno1 2025-08-14 19:51:28 +08:00 • committed by GitHub
commit 05e071bf2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 9 deletions

View file

@ -79,6 +79,9 @@ const SwrInitializer = ({
<SWRConfig value={{
shouldRetryOnError: false,
revalidateOnFocus: false,
dedupingInterval: 60000,
focusThrottleInterval: 5000,
provider: () => new Map(),
}}>
{children}
</SWRConfig>