diff --git a/components/settings/SettingsLanguage.vue b/components/settings/SettingsLanguage.vue index a1c87c1f..846598f8 100644 --- a/components/settings/SettingsLanguage.vue +++ b/components/settings/SettingsLanguage.vue @@ -2,14 +2,17 @@ import type { ComputedRef } from 'vue' import type { LocaleObject } from '#i18n' -const userSettings = useUserSettings() +const props = defineProps<{ + language?: string +}>() +const model = useVModel(props, 'language') const { locales } = useI18n() as { locales: ComputedRef }