fix indentation and remove console log

This commit is contained in:
yogesh-gohil
2023-03-31 17:42:18 +05:30
parent a9f971bf3d
commit ceb05a7dac
3 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,6 @@ const globalStore = useGlobalStore()
const enabled = computed({
get: () => globalStore.isDarkModeOn,
set: (value) => {
console.log(value)
if (value) {
localStorage.theme = 'dark'
document.documentElement.classList.add('dark')