department-of-veterans-affairs/vets-website

View on GitHub
src/applications/accredited-representative-portal/reducers/user.js

Summary

Maintainability
A
1 hr
Test Coverage

Function profileReducer has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function profileReducer(state = getNullProfileState(), action) {
  switch (action.type) {
    case FETCH_USER:
      return {
        ...state,
Severity: Minor
Found in src/applications/accredited-representative-portal/reducers/user.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status