l-min-components 1.0.982 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.982",
3
+ "version": "1.0.986",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -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
 
@@ -172,8 +180,8 @@ const AppMainLayout = () => {
172
180
  "Sign in",
173
181
  "Sorry, you can’t access your account on a mobile browser.",
174
182
  "We know it's inconvenient. For better user accessibility, login with a desktop device or via our mobile app.",
175
- "Download on Google Play",
176
- "Download on Apple Store",
183
+ "Download on google play",
184
+ "Download on apple store",
177
185
  "Help",
178
186
  ];
179
187
 
@@ -28,10 +28,10 @@ const MobileLayout = (props) => {
28
28
 
29
29
  <div className="mlc_link_section">
30
30
  <a href="#">
31
- <img src={play} alt="play store" /> {props?.findText("Download on Google Play")}
31
+ <img src={play} alt="play store" /> {props?.findText("Download on google play")}
32
32
  </a>
33
33
  <a href="#">
34
- <img src={apple} alt="apple store" /> {props?.findText("Download on Apple Store")}
34
+ <img src={apple} alt="apple store" /> {props?.findText("Download on apple store")}
35
35
  </a>
36
36
  </div>
37
37
  </div>