mirror of
https://github.com/Anil-matcha/Open-Generative-AI.git
synced 2026-05-07 01:17:18 +00:00
fix(layout): suppress hydration warning caused by browser extensions
Browser extensions (Grammarly, etc.) inject attributes into <body> after SSR, causing React hydration mismatches. suppressHydrationWarning silences the noise without affecting functionality. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6ea0d82400
commit
96dfd0fbab
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ export const metadata = {
|
|||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.variable}>{children}</body>
|
||||
<body className={inter.variable} suppressHydrationWarning>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue