gatsby
Version:
Blazing fast modern site generator for React
15 lines (14 loc) • 450 B
JavaScript
exports.__esModule = true;
exports.componentsUsingSlicesReducer = void 0;
const componentsUsingSlicesReducer = (state = new Map(), action) => {
switch (action.type) {
case `DELETE_CACHE`:
return new Map();
case `SET_COMPONENTS_USING_PAGE_SLICES`:
return action.payload;
}
return state;
};
exports.componentsUsingSlicesReducer = componentsUsingSlicesReducer;
//# sourceMappingURL=components-using-slices.js.map
;