From 934ac1cadfc518510c05e3691588964752d32235 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 18 Feb 2026 00:07:33 +0000 Subject: [PATCH] Fix: use client Providers wrapper instead of SessionProvider directly in root layout --- app/layout.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index ca11a1d..3dac629 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,7 +2,7 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import { Toaster } from "@/components/ui/sonner"; -import { SessionProvider } from "next-auth/react"; +import { Providers } from "@/app/components/Providers"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -29,11 +29,12 @@ export default function RootLayout({ - + {children} - + ); } +