Skip to content

Commit 7fdd2ae

Browse files
committed
fix: warning in console
1 parent 3cbbd35 commit 7fdd2ae

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/app/layout.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,12 @@ export default function RootLayout({
5656
children: React.ReactNode
5757
}>) {
5858
return (
59-
<html lang="en">
59+
<html lang="en" suppressHydrationWarning>
6060
<head>
6161
<SandpackCSS />
6262
</head>
6363
<body className={cn(inter.className, 'bg-surface break-words')}>
64-
<ThemeProvider
65-
// attribute="class"
66-
// defaultTheme="system"
67-
// enableSystem
68-
disableTransitionOnChange
69-
>
70-
{children}
71-
</ThemeProvider>
64+
<ThemeProvider>{children}</ThemeProvider>
7265
</body>
7366
</html>
7467
)

0 commit comments

Comments
 (0)