Skip to content

Instantly share code, notes, and snippets.

@btakashi

btakashi/_app.js Secret

Last active January 13, 2022 15:42
NextAuth _app.js
import { SessionProvider } from 'next-auth/react'
export default function App ({ Component, pageProps }) {
return (
<SessionProvider session={pageProps.session}>
<Component {...pageProps} />
</SessionProvider>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment