-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout-diff.txt
More file actions
28 lines (27 loc) · 1.71 KB
/
Copy pathlayout-diff.txt
File metadata and controls
28 lines (27 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/app/layout.tsx b/app/layout.tsx
index eed72f6..61005de 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,6 +1,7 @@
import type { Metadata } from 'next'
import './globals.css'
import ClientLayout from './client-layout'
+import { ThemeProvider } from '@/components/theme-provider'
export const metadata: Metadata = {
title: 'RenThing',
@@ -44,9 +45,11 @@ export default function RootLayout({
}}
/>
</head>
- <body suppressHydrationWarning>
- <ClientLayout>{children}</ClientLayout>
+ <body suppressHydrationWarning className="bg-background text-foreground">
+ <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
+ <ClientLayout>{children}</ClientLayout>
+ </ThemeProvider>
</body>
</html>
)
-}
+}
\ No newline at end of file