UNPKG

fabric8-planner

Version:
17 lines 528 B
import * as InfotipActions from './../actions/infotip.actions'; import { initialState } from './../states/infotip.state'; export var InfotipReducer = function (state, action) { if (state === void 0) { state = initialState; } switch (action.type) { case InfotipActions.GET_SUCCESS: { return action.payload; } case InfotipActions.GET_ERROR: { return state; } default: { return state; } } }; //# sourceMappingURL=infotip.reducer.js.map