Skip to content

Commit

Permalink
fix: warning in console
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Sep 14, 2024
1 parent 3cbbd35 commit 7fdd2ae
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,12 @@ export default function RootLayout({
children: React.ReactNode
}>) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
<head>
<SandpackCSS />
</head>
<body className={cn(inter.className, 'bg-surface break-words')}>
<ThemeProvider
// attribute="class"
// defaultTheme="system"
// enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
<ThemeProvider>{children}</ThemeProvider>
</body>
</html>
)
Expand Down

0 comments on commit 7fdd2ae

Please sign in to comment.