generated from Seekra/repository-template
refactor(i18n): move locale updater to language switch button
This commit is contained in:
@@ -54,8 +54,6 @@ updateColorScheme(colorScheme.value);
|
||||
|
||||
watchEffect(() => updatePageTitle(route));
|
||||
|
||||
watch(() => getSetting(LANGUAGE_PATH), setLocale);
|
||||
|
||||
onMounted(() => {
|
||||
setLocale(getSetting(LANGUAGE_PATH));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user