chore: cleanup

This commit is contained in:
kolaente 2021-10-17 14:01:48 +02:00
parent 2fc96cb6a7
commit c329c37c7b
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -27,7 +27,6 @@ const setI18nLanguage = lang => {
}
export const loadLanguageAsync = lang => {
console.log(lang, i18n.global.locale)
// If the same language
if (i18n.global.locale === lang) {
return Promise.resolve(setI18nLanguage(lang))