Created
June 1, 2023 15:05
-
-
Save vincentchalamon/b1e55261960277739886eb5fedaf37b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SessionProvider } from "next-auth/react" | |
export default function App({ | |
Component, | |
pageProps: { session, ...pageProps }, | |
}) { | |
return ( | |
<SessionProvider session={session}> | |
<Component {...pageProps} /> | |
</SessionProvider> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment