chore: remove console.log statements

This commit is contained in:
kunish 2024-10-12 22:49:34 +08:00
parent ae1158d957
commit 7c707bec7c
No known key found for this signature in database
GPG Key ID: 67D3ACD788F3A7CD

View File

@ -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())
}) })