chore: cleanup
This commit is contained in:
parent
2fc96cb6a7
commit
c329c37c7b
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ const setI18nLanguage = lang => {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const loadLanguageAsync = lang => {
|
export const loadLanguageAsync = lang => {
|
||||||
console.log(lang, i18n.global.locale)
|
|
||||||
// If the same language
|
// If the same language
|
||||||
if (i18n.global.locale === lang) {
|
if (i18n.global.locale === lang) {
|
||||||
return Promise.resolve(setI18nLanguage(lang))
|
return Promise.resolve(setI18nLanguage(lang))
|
||||||
|
|
Loading…
Reference in a new issue