chore: try i18n

This commit is contained in:
Shivam Mishra
2024-10-08 15:20:35 +05:30
parent 47b9399208
commit 412303d1cd
7 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export default {
mql.onchange = e => setColorTheme(e.matches);
},
setLocale(locale) {
this.$root.$i18n.locale = locale;
this.$i18n.locale = locale;
},
async initializeAccount() {
await this.$store.dispatch('accounts/get');