l-min-components 1.0.991 → 1.0.993

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.991",
3
+ "version": "1.0.993",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -150,11 +150,8 @@ const AppMainLayout = () => {
150
150
  locaLang && locaLang.toLocaleLowerCase().includes("slug");
151
151
 
152
152
  if (checkiIsObj) {
153
- const lang = JSON.parse(locaLang);
154
- if (lang && lang?.slug) {
155
- localStorage.removeItem("defaultLang");
156
- window.location.reload();
157
- }
153
+ localStorage.removeItem("defaultLang");
154
+ window.location.reload();
158
155
  }
159
156
  }, []);
160
157