mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-15 06:45:36 +08:00
chore: remove console.log statements
This commit is contained in:
parent
ae1158d957
commit
7c707bec7c
@ -27,13 +27,6 @@ export const App: ParentComponent = ({ children }) => {
|
|||||||
const prefersDark = usePrefersDark()
|
const prefersDark = usePrefersDark()
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
console.log(
|
|
||||||
autoSwitchTheme(),
|
|
||||||
prefersDark(),
|
|
||||||
favNightTheme(),
|
|
||||||
favDayTheme(),
|
|
||||||
)
|
|
||||||
|
|
||||||
if (autoSwitchTheme())
|
if (autoSwitchTheme())
|
||||||
setCurTheme(prefersDark() ? favNightTheme() : favDayTheme())
|
setCurTheme(prefersDark() ? favNightTheme() : favDayTheme())
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user