chore: fixes

This commit is contained in:
Anthony Fu committed 2020-08-10 23:26:36 +08:00
1 parent 23f60c738d
commit f281990f38
10 files changed
+45 -31

No files matched your search

+1 -4
View File
@@ -18,9 +18,6 @@ export const isDark = computed({
watch(
isDark,
(v) => {
const html = document.documentElement
html.classList.toggle('schema-dark', v)
},
v => document.documentElement.classList.toggle('schema-dark', v),
{ immediate: true },
)