department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-medications/components/PrescriptionDetails/GroupedMedications.jsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function GroupedMedications has 84 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const GroupedMedications = props => {
  const { groupedMedicationsList } = props;

  const truncatedGroupedMedicationsList = groupedMedicationsList?.slice(
    0,

    There are no issues that match your filters.

    Category
    Status