Files
AM_CMS_Summative/app/components/Providers.tsx
T
2026-11-06 10:02:29 +00:00

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