reorganize providers

This commit is contained in:
horsefacts
2024-11-25 14:57:10 -05:00
committed by lucas-neynar
parent a8ba2397bd
commit 530fb860c3
6 changed files with 32 additions and 25 deletions

14
src/app/providers.tsx Normal file
View File

@@ -0,0 +1,14 @@
"use client";
import dynamic from "next/dynamic";
const WagmiProvider = dynamic(
() => import("~/components/providers/WagmiProvider"),
{
ssr: false,
}
);
export function Providers({ children }: { children: React.ReactNode }) {
return <WagmiProvider>{children}</WagmiProvider>;
}