Skip to content

Commit 889c4ce

Browse files
author
Ethersafe.eth
authored
Update _app.tsx
Signed-off-by: Ethersafe.eth <raphaelchigozle7088@icloud.com>
1 parent a604ad3 commit 889c4ce

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pages/_app.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
// pages/_app.tsx
2-
import "../styles/globals.css";
3-
import Layout from "../components/Layout";
4-
import { WalletProvider } from "../components/WalletStatus";
1+
import { ChakraProvider } from '@chakra-ui/react';
2+
import { WagmiConfig } from 'wagmi';
3+
import { wagmiClient } from '../lib/wallet';
4+
import '../styles/globals.css';
55

6-
export default function App({ Component, pageProps }) {
6+
export default function MyApp({ Component, pageProps }) {
77
return (
8-
<WalletProvider>
9-
<Layout>
8+
<ChakraProvider>
9+
<WagmiConfig client={wagmiClient}>
1010
<Component {...pageProps} />
11-
</Layout>
12-
</WalletProvider>
11+
</WagmiConfig>
12+
</ChakraProvider>
1313
);
1414
}

0 commit comments

Comments
 (0)