From 08319688810477d876b4caa98ca0b2d9219e4477 Mon Sep 17 00:00:00 2001 From: Unchained Date: Sat, 21 Mar 2026 13:09:31 +0200 Subject: [PATCH] fix: Suppress hydration warnings from browser extensions - Add suppressHydrationWarning to html and body elements - Prevents FoxClocks and other extensions from causing errors - Extensions modifying DOM won't break React hydration --- src/app/layout.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f2dfb9c..9850b31 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -17,14 +17,17 @@ export const metadata: Metadata = { }, }; +// Suppress extension-caused hydration warnings +const suppressHydrationWarning = true; + export default function RootLayout({ children, }: { children: React.ReactNode; }) { return ( - - + + {children}