mirror of
https://github.com/3lLobo/zkAuth.git
synced 2026-01-09 04:17:54 -05:00
24 lines
576 B
TypeScript
24 lines
576 B
TypeScript
import '../styles/globals.css'
|
|
import type { AppProps } from 'next/app'
|
|
import { Layout } from '../components'
|
|
import { ThemeProvider } from 'next-themes'
|
|
import { DAppProvider } from '@usedapp/core'
|
|
|
|
const config = {
|
|
multicallAddresses: ['0x'],
|
|
}
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<ThemeProvider attribute="class" enableSystem={false} defaultTheme="dark">
|
|
<DAppProvider config={config}>
|
|
<Layout>
|
|
<Component {...pageProps} />
|
|
</Layout>
|
|
</DAppProvider>
|
|
</ThemeProvider>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|