Untitled
useEffect(() => { if (state.auth.language) { switch (state.auth.language) { case "EN": i18n.changeLanguage("en"); break; case "ES": i18n.changeLanguage("es"); break; default: i18n.changeLanguage("de"); break; } } }, []);
useEffect(() => { if (state.auth.language) { switch (state.auth.language) { case "EN": i18n.changeLanguage("en"); break; case "ES": i18n.changeLanguage("es"); break; default: i18n.changeLanguage("de"); break; } } }, []);