diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b9963b5..ddb3c1b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -51,10 +51,6 @@ function Content() { backgroundSize: "100vw 200vh", backgroundPosition: "50% 0vh", backgroundRepeat: "no-repeat", - transition: (t) => - t.transitions.create("background-color", { - duration: t.transitions.duration.complex, - }), }} > diff --git a/src/theme/Navbar/ColorModeToggle/index.js b/src/theme/Navbar/ColorModeToggle/index.js index 1256158..48dfb6e 100644 --- a/src/theme/Navbar/ColorModeToggle/index.js +++ b/src/theme/Navbar/ColorModeToggle/index.js @@ -10,7 +10,6 @@ export default function NavbarColorModeToggle({ className }) { if (disabled) { return null; } - return ( makeTheme(mode), [mode]); useEffect(() => { setMode(get("theme"));