fix: fixed theme blinking on reload
This commit is contained in:
@ -11,7 +11,7 @@ import style from "./ActionToggle.module.css";
|
||||
|
||||
export function ColorSchemeToggle() {
|
||||
const { setColorScheme } = useMantineColorScheme();
|
||||
const computedColorScheme = useComputedColorScheme("light", {
|
||||
const computedColorScheme = useComputedColorScheme(undefined, {
|
||||
getInitialValueInEffect: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user