fix: lagg till SessionProvider i root layout sa useSession() fungerar

This commit is contained in:
Nils-Johan Gynther
2026-04-19 21:55:22 +02:00
parent 0f71d2569b
commit 01d1bd2639
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
'use client';
import { SessionProvider } from 'next-auth/react';
export default function Providers({ children }: { children: React.ReactNode }) {
return <SessionProvider>{children}</SessionProvider>;
}