diff --git a/app/layout.tsx b/app/layout.tsx index afb2def..34fc982 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -20,25 +20,12 @@ export const metadata = { }, }; -const themeScript = ` -(function () { - try { - const storedTheme = localStorage.getItem("theme"); - const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches; - const theme = storedTheme || (prefersDark ? "dark" : "light"); - document.documentElement.classList.toggle("dark", theme === "dark"); - } catch (_) {} -})(); -`; - export default function RootLayout({ children }: { children: ReactNode }) { return ( - - -