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

11 lines
214 B
TypeScript
Raw Permalink Normal View History

2024-07-30 21:17:07 +02:00
"use client";
import { SessionProvider } from "next-auth/react";
export default function AuthProvider({
children,
}: {
children: React.ReactNode;
}) {
return <SessionProvider>{children}</SessionProvider>;
}