svrjs-nextjs-website/components/shared/providers/AuthProvider.tsx

10 lines
213 B
TypeScript

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