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
parent e340fccafb
commit 05e071bf2f
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>