@ -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();
};