diff --git a/src/utils/LangUtils.js b/src/utils/LangUtils.js index b518490..57a0cd4 100644 --- a/src/utils/LangUtils.js +++ b/src/utils/LangUtils.js @@ -1,7 +1,7 @@ import i18n from "../const/i18n"; export const handleChangeLng = (lng) => { - console.log("Changing language to:", lng); i18n.changeLanguage(lng); localStorage.setItem("lng", lng); + window.location.reload(); };