Remove console.log

pull/5507/head
mertsincan 2024-03-12 10:33:30 +00:00
parent 7616deb940
commit 475604491f
1 changed files with 0 additions and 1 deletions

View File

@ -98,7 +98,6 @@ export default {
const colorSchemeOption = BaseStyle.getColorSchemeOption(colorScheme);
const isClient = DomHandler.isClient();
console.log(window.matchMedia('(prefers-color-scheme: dark)'));
const isAuto = !colorSchemeOption.light?.default && !colorSchemeOption.dark?.default;
const isDark = isAuto && isClient ? window.matchMedia('(prefers-color-scheme: dark)').matches : colorSchemeOption.dark?.default;
const defaultDocument = isClient ? window.document : undefined;