src/applications/representative-search/reducers/errors.js
Function ErrorsReducer
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ErrorsReducer = (state = INITIAL_STATE, action) => {
switch (action.type) {
case CLEAR_ERROR: {
const { errorType } = action.payload;