- Initial setup and all features from develop branch - Includes: auth, deploy, docker, style fixes - K3S deployment configuration
12 lines
340 B
TypeScript
12 lines
340 B
TypeScript
import { SessionProvider as NextAuthSessionProvider } from "next-auth/react";
|
|
import { ReactNode } from "react";
|
|
|
|
export default function SessionProvider({ children }: { children: ReactNode }) {
|
|
return (
|
|
<NextAuthSessionProvider refetchInterval={0} refetchOnWindowFocus={true}>
|
|
{children}
|
|
</NextAuthSessionProvider>
|
|
);
|
|
}
|
|
|