chore: fixes
This commit is contained in:
1 parent
23f60c738d
commit
f281990f38
10 files changed
+45
-31
No files matched your search
+1
-4
@@ -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 },
|
||||
)
|
||||
Reference in new issue
Block a user