monkey-front-core 0.0.374 → 0.0.376
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/esm2020/lib/store/reducers/monkeyecx-seeder.reducer.mjs +7 -1
- package/fesm2015/monkey-front-core.mjs +6 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.376.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.374.tgz +0 -0
|
@@ -2456,6 +2456,9 @@ const seederReducer = (keys) => {
|
|
|
2456
2456
|
return (state, action) => {
|
|
2457
2457
|
const handledState = reducer(state, action);
|
|
2458
2458
|
if (action.type === INIT || action.type === UPDATE) {
|
|
2459
|
+
console.log('=============');
|
|
2460
|
+
console.log(handledState);
|
|
2461
|
+
console.log(action.type);
|
|
2459
2462
|
let data = null;
|
|
2460
2463
|
try {
|
|
2461
2464
|
const storage = localStorage.getItem('mecx-store');
|
|
@@ -2498,6 +2501,9 @@ const seederReducer = (keys) => {
|
|
|
2498
2501
|
catch (e) {
|
|
2499
2502
|
localStorage.removeItem('mecx-store');
|
|
2500
2503
|
}
|
|
2504
|
+
console.log('@@@@@@@@@@@@');
|
|
2505
|
+
console.log(handledState);
|
|
2506
|
+
console.log(action.type);
|
|
2501
2507
|
return handledState;
|
|
2502
2508
|
};
|
|
2503
2509
|
};
|