enable dark mode just in panel page

This commit is contained in:
Ehsan
2024-09-30 14:15:26 +03:30
parent a824f14800
commit cecd572861
5 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { useState } from "react";
function Theme() {
const [mounted, setMounted] = useState(false);
const { theme, setTheme, resolvedTheme } = useTheme();
const { theme, setTheme } = useTheme();
useState(() => setMounted(true), []);