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

11 lines
213 B
TypeScript
Raw Normal View History

2024-06-27 11:32:03 +02:00
"use client";
import { SessionProvider } from "next-auth/react";
export default function AuthProvider({
children
2024-06-27 11:32:03 +02:00
}: {
children: React.ReactNode;
}) {
return <SessionProvider>{children}</SessionProvider>;
}