mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-31 07:00:22 +00:00
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
14 lines
316 B
TypeScript
14 lines
316 B
TypeScript
"use client";
|
|
|
|
import type { Session } from "next-auth";
|
|
import { SessionProvider } from "next-auth/react";
|
|
|
|
type Props = {
|
|
children: React.ReactNode;
|
|
session?: Session;
|
|
};
|
|
|
|
export const AuthProvider = ({ children, session }: Props) => {
|
|
return <SessionProvider session={session}>{children}</SessionProvider>;
|
|
};
|