fix: suppress root hydration warning
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user