enable dark mode just in panel page
This commit is contained in:
@@ -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), []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user