12 lines
304 B
TypeScript
12 lines
304 B
TypeScript
"use client";
|
|
|
|
import { SessionProvider } from "next-auth/react";
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<SessionProvider>{children}</SessionProvider>
|
|
|
|
)
|
|
}
|
|
|
|
// surrounds page content to give children access to auth context and functions
|