src/applications/representative-search/reducers/searchResult.js
Function SearchResultReducer
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const SearchResultReducer = (state = INITIAL_STATE, action) => {
switch (action.type) {
case FETCH_REPRESENTATIVES:
case SEARCH_COMPLETE:
return {