chore: cleanup
This commit is contained in:
parent
2fc96cb6a7
commit
c329c37c7b
@ -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…
x
Reference in New Issue
Block a user