@mjhls/mjh-framework 1.0.666-ad-update-v3 → 1.0.666-ad-update-v5

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.
@@ -451,7 +451,7 @@ var MasterDeck = function (_React$Component) {
451
451
  }
452
452
 
453
453
  if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
454
- this.setState({ mobileView: true });
454
+ !this.state.mobileView && this.setState({ mobileView: true });
455
455
  }
456
456
  }
457
457
  }, {
@@ -445,7 +445,7 @@ var MasterDeck = function (_React$Component) {
445
445
  }
446
446
 
447
447
  if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
448
- this.setState({ mobileView: true });
448
+ !this.state.mobileView && this.setState({ mobileView: true });
449
449
  }
450
450
  }
451
451
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.666-ad-update-v3",
3
+ "version": "1.0.666-ad-update-v5",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",