Skip to content

Instantly share code, notes, and snippets.

@vincentchalamon
Created June 1, 2023 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentchalamon/b1e55261960277739886eb5fedaf37b0 to your computer and use it in GitHub Desktop.
Save vincentchalamon/b1e55261960277739886eb5fedaf37b0 to your computer and use it in GitHub Desktop.
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