This commit is contained in:
eric
2025-11-13 05:05:53 +08:00
parent cbdc65f56e
commit 891af61146
691 changed files with 83952 additions and 0 deletions

17
components/providers.tsx Normal file
View File

@@ -0,0 +1,17 @@
'use client'
import { SWRConfig } from 'swr'
export function Providers({ children }: { children: React.ReactNode }) {
return (
<SWRConfig
value={{
provider: () => new Map(),
revalidateOnFocus: false,
revalidateOnReconnect: false
}}
>
{children}
</SWRConfig>
)
}