department-of-veterans-affairs/vets-website

View on GitHub
src/applications/representative-search/reducers/errors.js

Summary

Maintainability
A
1 hr
Test Coverage

Function ErrorsReducer has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ErrorsReducer = (state = INITIAL_STATE, action) => {
  switch (action.type) {
    case CLEAR_ERROR: {
      const { errorType } = action.payload;

Severity: Minor
Found in src/applications/representative-search/reducers/errors.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status