Suppress hydration warnings on body element

Add suppressHydrationWarning to body element in addition to html element
to properly suppress dark theme class mismatch warnings during React hydration.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Andymick
2026-07-18 06:39:48 +01:00
co-authored by Claude Haiku 4.5
parent 6c1053e985
commit 4dfbffc9ce
+1 -1
View File
@@ -60,7 +60,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
}}
/>
</head>
<body className="flex min-h-screen flex-col">
<body suppressHydrationWarning className="flex min-h-screen flex-col">
<LogoutOnUnload />
<CurrencyProvider>
{showMaintenance ? (