14 lines
231 B
TypeScript
14 lines
231 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { SessionProvider } from 'next-auth/react'
|
||
|
|
||
|
export default function AuthProvider({ children }: {
|
||
|
children: React.ReactNode
|
||
|
}) {
|
||
|
return (
|
||
|
<SessionProvider>
|
||
|
{children}
|
||
|
</SessionProvider>
|
||
|
)
|
||
|
}
|