Skip to content

Commit 45b28a8

Browse files
remove unnecessary ThemeProvider from conf/2025 layout
1 parent 80101db commit 45b28a8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/app/(conf)/conf/2025/layout.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import "./conf.css"
88
import { Navbar } from "./components/navbar"
99
import { Footer } from "./components/footer"
1010

11-
// @ts-expect-error: we want to import the same version as Nextra for the main page
12-
import { ThemeProvider } from "next-themes"
1311
import { GraphQLConfLogoLink } from "./components/graphql-conf-logo-link"
1412
import { GALLERY_LINK } from "./links"
1513

@@ -53,9 +51,7 @@ export default function Layout({
5351
{ children: "FAQ", href: "/conf/2025/#faq" },
5452
]}
5553
/>
56-
<ThemeProvider attribute="class">
57-
<div className="bg-neu-0 text-neu-900 antialiased">{children}</div>
58-
</ThemeProvider>
54+
<div className="bg-neu-0 text-neu-900 antialiased">{children}</div>
5955
<Footer
6056
logo={<GraphQLConfLogoLink year={2025} />}
6157
links={[

0 commit comments

Comments
 (0)