department-of-veterans-affairs/vets-website

View on GitHub
src/platform/site-wide/user-nav/reducers/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function userNavReducer(state = initialState, action) {
  switch (action.type) {
    case TOGGLE_FORM_SIGN_IN_MODAL:
      return set('showFormSignInModal', action.isOpen, state);

Severity: Minor
Found in src/platform/site-wide/user-nav/reducers/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status