department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-medications/components/MedicationsList/MedicationsListSort.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function MedicationsListSort has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const MedicationsListSort = props => {
  const { value, sortRxList } = props;
  const history = useHistory();
  const showRefillContent = useSelector(selectRefillContentFlag);
  const [sortListOption, setSortListOption] = useState(value);

    There are no issues that match your filters.

    Category
    Status