good spot withh auth

This commit is contained in:
Arjun Patel
2022-01-12 23:52:58 -08:00
parent a83e319c78
commit 3e37774238
8 changed files with 167 additions and 65 deletions
+4 -1
View File
@@ -1,6 +1,7 @@
import '../styles/globals.css'
import 'antd/dist/antd.css';
import Head from 'next/head'
import { AuthProvider } from '../contexts/authContext'
function MyApp({ Component, pageProps }) {
return <>
@@ -32,7 +33,9 @@ function MyApp({ Component, pageProps }) {
</Head>
<main>
<Component {...pageProps} />
<AuthProvider>
<Component {...pageProps} />
</AuthProvider>
</main>
</>
}