14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import { SessionProvider } from "next-auth/react"
|
|
|
|
export function AuthSessionProvider({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<SessionProvider refetchOnWindowFocus={false} refetchInterval={0}>
|
|
{children}
|
|
</SessionProvider>
|
|
)
|
|
}
|
|
|