svrjs-nextjs-website/components/shared/providers/AuthProvider.tsx
2024-07-31 00:47:07 +05:30

10 lines
214 B
TypeScript

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