UNPKG

450 BJavaScriptView Raw
1"use strict";
2
3exports.__esModule = true;
4exports.componentsUsingSlicesReducer = void 0;
5const componentsUsingSlicesReducer = (state = new Map(), action) => {
6 switch (action.type) {
7 case `DELETE_CACHE`:
8 return new Map();
9 case `SET_COMPONENTS_USING_PAGE_SLICES`:
10 return action.payload;
11 }
12 return state;
13};
14exports.componentsUsingSlicesReducer = componentsUsingSlicesReducer;
15//# sourceMappingURL=components-using-slices.js.map
\No newline at end of file