@mjhls/mjh-framework 1.0.666-ad-update-v2 → 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.
- package/dist/cjs/MasterDeck.js +1 -2
- package/dist/esm/MasterDeck.js +1 -2
- package/package.json +1 -1
package/dist/cjs/MasterDeck.js
CHANGED
|
@@ -147,7 +147,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
}, _this.checkMoreDataAvailable = function () {
|
|
150
|
-
debugger;
|
|
151
150
|
var _this$state2 = _this.state,
|
|
152
151
|
from = _this$state2.from,
|
|
153
152
|
itemsPerPage = _this$state2.itemsPerPage,
|
|
@@ -452,7 +451,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
452
451
|
}
|
|
453
452
|
|
|
454
453
|
if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
|
|
455
|
-
this.setState({ mobileView: true });
|
|
454
|
+
!this.state.mobileView && this.setState({ mobileView: true });
|
|
456
455
|
}
|
|
457
456
|
}
|
|
458
457
|
}, {
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -141,7 +141,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
}, _this.checkMoreDataAvailable = function () {
|
|
144
|
-
debugger;
|
|
145
144
|
var _this$state2 = _this.state,
|
|
146
145
|
from = _this$state2.from,
|
|
147
146
|
itemsPerPage = _this$state2.itemsPerPage,
|
|
@@ -446,7 +445,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
446
445
|
}
|
|
447
446
|
|
|
448
447
|
if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
|
|
449
|
-
this.setState({ mobileView: true });
|
|
448
|
+
!this.state.mobileView && this.setState({ mobileView: true });
|
|
450
449
|
}
|
|
451
450
|
}
|
|
452
451
|
}, {
|