🐛 (user settings) reset user settings with tree

This commit is contained in:
2021-03-24 22:48:13 +01:00
parent 32ff23c230
commit 935acb6813
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ export const useUserSettings = () => {
watchEffect(() => {
const fontFamily = store.userSettings?.fontFamily
const root = document.documentElement
if (fontFamily) {
root.style.setProperty('--font-family', fontFamily)
} else {