department-of-veterans-affairs/vets-website

View on GitHub
src/applications/personalization/view-representative/components/ViewRepresentativeBody.jsx

Summary

Maintainability
A
1 hr
Test Coverage

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

const ViewRepresentativeBody = props => {
  const { loading, representative, error } = props.representative;
  let content;
  if (loading) {
    content = <va-loading-indicator message="Loading your representative" />;

    There are no issues that match your filters.

    Category
    Status