fix: suppress root hydration warning

This commit is contained in:
2026-07-02 08:56:52 -07:00
parent 89a59956ac
commit 22e61f5efe

View File

@@ -13,7 +13,7 @@ type RootLayoutProps = {
export default function RootLayout({ children }: RootLayoutProps): React.ReactElement { export default function RootLayout({ children }: RootLayoutProps): React.ReactElement {
return ( return (
<html lang="zh-CN"> <html lang="zh-CN" suppressHydrationWarning>
<body>{children}</body> <body>{children}</body>
</html> </html>
); );