🚧 Work in progress

This commit is contained in:
Freeze455
2021-10-06 18:04:10 +02:00
parent d0c909602b
commit bc7a685e74
2 changed files with 7 additions and 5 deletions

View File

@@ -30,11 +30,6 @@ onMounted(() => {
htmlStatut.value = document.documentElement.classList.contains('dark')
})
const route = useRoute()
onMounted(() => $route.path, () => {
console.log('test')
})
function toggle () {
const htmlRoot = document.documentElement as HTMLElement
htmlRoot.classList.contains('dark')