Spaces:
Runtime error
Runtime error
Upload pages/_app.js with huggingface_hub
Browse files- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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;
|