text: import ActionTypes from '../constants/ActionTypes';
  
  export default new Map([
    [ActionTypes.ADD_TAG_EXCLUSION, (state, action) => [
      ...state,
      action.id
    ]
    ],
    [ActionTypes.REMOVE_TAG_EXCLUSION, (state, action) => state.filter(t => t !== action.id)
    ],
    [ActionTypes.CLEAR_TAG_EXCLUSIONS, () => []]
  ]);
  