diff --git a/frontend/components/providers.tsx b/frontend/components/providers.tsx index 29007ab..8912a60 100644 --- a/frontend/components/providers.tsx +++ b/frontend/components/providers.tsx @@ -9,6 +9,7 @@ import { ThemeProvider } from "next-themes"; import { RainbowKitProvider } from "@rainbow-me/rainbowkit"; import { hashFn } from "wagmi/query"; import { wagmiConfig } from "@/config/wagmi-config"; +import { structuralSharing } from '@wagmi/core/query'; type Props = { children: ReactNode; @@ -26,6 +27,7 @@ const Providers = ({ children, cookie }: Props) => { staleTime: 30 * 1000, // 30 secs gcTime: 60 * 1000, // 60 secs queryKeyHashFn: hashFn, + structuralSharing }, }, }),