mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
build:
多余日志
This commit is contained in:
@@ -26,7 +26,6 @@ export default function FloatDarkModeButton () {
|
||||
saveTheme(newTheme)
|
||||
changeTheme(newTheme)
|
||||
const htmlElement = document.getElementsByTagName('html')[0]
|
||||
console.log('切换主题', htmlElement)
|
||||
htmlElement.classList?.remove(userTheme)
|
||||
htmlElement.classList?.add(newTheme)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user