File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Inter } from "next/font/google";
4
4
import Footer from "@/components/Footer" ;
5
5
import Navigation from "@/components/Navigation" ;
6
6
import AnimatedLayout from "@/components/AnimatedLayout" ;
7
- import { ThemeProvider } from "@/components/ThemeProvider " ;
7
+ import { ThemeProvider } from "next-themes " ;
8
8
import Container from "@/components/Container" ;
9
9
import WindowPanel from "@/components/WindowPanel" ;
10
10
import LetterboxdLink from "@/components/LetterboxdLink" ;
@@ -53,7 +53,7 @@ export default function RootLayout({
53
53
< link rel = "canonical" href = "https://www.bertselleslagh.com" />
54
54
</ head >
55
55
< body className = { inter . className } >
56
- < ThemeProvider attribute = "class" >
56
+ < ThemeProvider attribute = "class" defaultTheme = "system" enableSystem >
57
57
< div className = "flex flex-col h-screen overflow-hidden" >
58
58
< Navigation />
59
59
< main className = "flex-grow" >
You can’t perform that action at this time.
0 commit comments