mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 18:19:15 +08:00
fix: Turn off SWR automatic revalidation when window is focused (#3129)
Co-authored-by: mazhanwen <mazhanwen@tal.com>
This commit is contained in:
parent
28b1c48235
commit
5a23d570b5
@ -32,6 +32,7 @@ const SwrInitor = ({
|
||||
? (
|
||||
<SWRConfig value={{
|
||||
shouldRetryOnError: false,
|
||||
revalidateOnFocus: false,
|
||||
}}>
|
||||
{children}
|
||||
</SWRConfig>
|
||||
|
Loading…
x
Reference in New Issue
Block a user