"use client";

import { SessionProvider } from "next-auth/react";
import { Session } from "next-auth";

export const NextAuthSessionProvider = ({
	children,
	session,
}: {
	children: React.ReactNode;
	session: Session | null;
}) => <SessionProvider session={session}>{children}</SessionProvider>;
