From 0de4173924b09a417892b87aa99b9cb8f1b4f30a Mon Sep 17 00:00:00 2001 From: farhan048 Date: Tue, 21 Feb 2023 15:34:13 +0700 Subject: [PATCH] reload --- src/utils/LangUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); };