svrjs-nextjs-website/components/shared/providers/AuthProvider.tsx
2024-06-27 15:02:03 +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>;
}