fixed a bit

This commit is contained in:
bobbert committed 2025-03-11 17:36:12 +00:00
1 parent df7dff68a8
commit 55e93b54c4
4 files changed
+19 -1

No files matched your search

+4 -1
View File
@@ -1,9 +1,12 @@
import './globals.css';
import { NextAuthProvider } from './providers';
export default function RootLayout({ children }) {
return (
<html lang="en">
<body>{children}</body>
<body>
<NextAuthProvider>{children}</NextAuthProvider>
</body>
</html>
);
}
+7
View File
@@ -0,0 +1,7 @@
'use client';
import { SessionProvider } from "next-auth/react";
export function NextAuthProvider({ children }) {
return <SessionProvider>{children}</SessionProvider>;
}
+7
View File
@@ -0,0 +1,7 @@
'use client';
import { SessionProvider } from "next-auth/react";
export function NextAuthProvider({ children }) {
return <SessionProvider>{children}</SessionProvider>;
}
+1
View File
@@ -0,0 +1 @@
export { NextAuthProvider } from './auth-provider';