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:
@@ -29,7 +29,7 @@ export default function RootLayout({
|
||||
lang="en"
|
||||
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>
|
||||
{children}
|
||||
<Toaster />
|
||||
|
||||
Reference in New Issue
Block a user