SessionProvider.tsx 305 B

1234567891011
  1. 'use client'
  2. import { useSession, signIn, signOut, SessionProvider as _SessionProvider } from "next-auth/react"
  3. import { type ReactNode } from "react"
  4. export function SessionProvider({ children }: { children: ReactNode }) {
  5. return (
  6. <_SessionProvider>
  7. {children}
  8. </_SessionProvider>
  9. )
  10. }