department-of-veterans-affairs/vets-website

View on GitHub
src/applications/representative-appoint/components/ReplaceAccreditedRepresentative.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function ReplaceAccreditedRepresentative has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ReplaceAccreditedRepresentative = props => {
  const { formData } = props;

  const currentRepresentative =
    formData?.['view:representativeStatus']?.attributes || {};

    There are no issues that match your filters.

    Category
    Status