00Boobs00 commited on
Commit
9dda26f
·
verified ·
1 Parent(s): 4faafe5

Upload pages/_app.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/_app.js +6 -1
pages/_app.js CHANGED
@@ -1,7 +1,12 @@
1
  import '../styles/globals.css';
 
2
 
3
  function MyApp({ Component, pageProps }) {
4
- return <Component {...pageProps} />;
 
 
 
 
5
  }
6
 
7
  export default MyApp;
 
1
  import '../styles/globals.css';
2
+ import { SessionProvider } from 'next-auth/react';
3
 
4
  function MyApp({ Component, pageProps }) {
5
+ return (
6
+ <SessionProvider session={pageProps.session}>
7
+ <Component {...pageProps} />
8
+ </SessionProvider>
9
+ );
10
  }
11
 
12
  export default MyApp;