text: const createReducer =
    (initialState, handleActions) =>
    (state = initialState, action) =>
      handleActions.hasOwnProperty(action.type)
        ? handleActions[action.type](state, action)
        : state;
  
  export default createReducer;
  