fix: default language in App.vue types

This commit is contained in:
kolaente 2025-11-22 14:29:32 +01:00
parent 7543b3b5cd
commit a89855a9d1
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ import ContentLinkShare from '@/components/home/ContentLinkShare.vue'
import NoAuthWrapper from '@/components/misc/NoAuthWrapper.vue'
import Ready from '@/components/misc/Ready.vue'
import {setLanguage} from '@/i18n'
import {DEFAULT_LANGUAGE, setLanguage} from '@/i18n'
import {useAuthStore} from '@/stores/auth'
import {useBaseStore} from '@/stores/base'
@ -76,7 +76,7 @@ watch(accountDeletionConfirm, async (accountDeletionConfirm) => {
authStore.refreshUserInfo()
}, { immediate: true })
setLanguage(authStore.settings.language)
setLanguage(authStore.settings.language ?? DEFAULT_LANGUAGE)
useColorScheme()
</script>