UNPKG

@veecode-platform/plugin-kong-service-manager

Version:

15 lines (13 loc) 345 B
const initialSelectedSpecState = null; const SelectedSpecReducer = (state, action) => { switch (action.type) { case "ADD_SPEC": return action.payload; case "REMOVE_SPEC": return null; default: return state; } }; export { SelectedSpecReducer, initialSelectedSpecState }; //# sourceMappingURL=reducer.esm.js.map