Suppress hydration-warning noise from browser-extension DOM tweaks on body

cz-shortcut-listen is ColorZilla's own marker attribute, injected into
<body> client-side before React hydrates - not an app bug. This only
silences mismatches on body's own attributes, not its children, so a
real hydration bug elsewhere would still surface normally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 19:49:08 +02:00
co-authored by Claude Sonnet 5
parent 9dc45f751a
commit 20989987f6
+1 -1
View File
@@ -29,7 +29,7 @@ export default function RootLayout({
lang="en" lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`} className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
> >
<body className="bg-background text-foreground flex min-h-full flex-col"> <body className="bg-background text-foreground flex min-h-full flex-col" suppressHydrationWarning>
<TooltipProvider> <TooltipProvider>
{children} {children}
<Toaster /> <Toaster />