fix(frontend): suppress body hydration warning from extensions

Browser extensions can inject classes like vc-init onto body before
React hydrates; ignore attribute mismatches on body.
This commit is contained in:
ryan
2026-07-24 16:30:49 +08:00
parent 1625cfb2fb
commit a4588b05e0
+4 -1
View File
@@ -42,7 +42,10 @@ export default async function RootLayout({
className={`hide-scrollbar font-sans ${inter.variable}`}
suppressHydrationWarning
>
<body className='hide-scrollbar font-sans antialiased'>
<body
className='hide-scrollbar font-sans antialiased'
suppressHydrationWarning
>
<ThemeProvider
attribute='class'
defaultTheme='system'