We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cbbd35 commit 7fdd2aeCopy full SHA for 7fdd2ae
src/app/layout.tsx
@@ -56,19 +56,12 @@ export default function RootLayout({
56
children: React.ReactNode
57
}>) {
58
return (
59
- <html lang="en">
+ <html lang="en" suppressHydrationWarning>
60
<head>
61
<SandpackCSS />
62
</head>
63
<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>
+ <ThemeProvider>{children}</ThemeProvider>
72
</body>
73
</html>
74
)
0 commit comments