fix: suppress hydration warning on html element for browser extensions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ interface BaseLayoutProps {
|
|||||||
|
|
||||||
export const BaseLayout = ({ children, locale }: BaseLayoutProps) => {
|
export const BaseLayout = ({ children, locale }: BaseLayoutProps) => {
|
||||||
return (
|
return (
|
||||||
<html lang={locale} className={cn(sans.variable, wordmark.variable, mono.variable)}>
|
<html lang={locale} suppressHydrationWarning className={cn(sans.variable, wordmark.variable, mono.variable)}>
|
||||||
<body
|
<body
|
||||||
suppressHydrationWarning
|
suppressHydrationWarning
|
||||||
className="bg-background text-foreground flex min-h-screen flex-col items-center justify-center font-sans antialiased"
|
className="bg-background text-foreground flex min-h-screen flex-col items-center justify-center font-sans antialiased"
|
||||||
|
|||||||
Reference in New Issue
Block a user