fix: resolve user profile dropdown cache sync issue across layouts (#23937)
This commit is contained in:
parent
e340fccafb
commit
05e071bf2f
2 changed files with 23 additions and 9 deletions
|
|
@ -79,6 +79,9 @@ const SwrInitializer = ({
|
|||
<SWRConfig value={{
|
||||
shouldRetryOnError: false,
|
||||
revalidateOnFocus: false,
|
||||
dedupingInterval: 60000,
|
||||
focusThrottleInterval: 5000,
|
||||
provider: () => new Map(),
|
||||
}}>
|
||||
{children}
|
||||
</SWRConfig>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue