l-min-components 1.0.984 → 1.0.986
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -144,6 +144,14 @@ const AppMainLayout = () => {
|
|
|
144
144
|
handleGetUserPlan();
|
|
145
145
|
}, []);
|
|
146
146
|
|
|
147
|
+
useEffect(() => {
|
|
148
|
+
const lang = JSON.parse(localStorage.getItem("defaultLang"));
|
|
149
|
+
if (lang && lang?.slug) {
|
|
150
|
+
localStorage.removeItem("defaultLang");
|
|
151
|
+
window.location.reload();
|
|
152
|
+
}
|
|
153
|
+
}, []);
|
|
154
|
+
|
|
147
155
|
const currentPlan = userPlanData?.data?.current_plan;
|
|
148
156
|
const planState = userPlanData?.data?.state;
|
|
149
157
|
|