department-of-veterans-affairs/vets-website

View on GitHub
src/applications/check-in/components/UpcomingAppointmentsList.jsx

Summary

Maintainability
B
4 hrs
Test Coverage

Function UpcomingAppointmentsList has 107 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UpcomingAppointmentsList = props => {
  const { router, app, upcomingAppointments } = props;
  const { jumpToPage, getCurrentPageFromRouter } = useFormRouting(router);
  const { t } = useTranslation();
  const page = getCurrentPageFromRouter();
Severity: Major
Found in src/applications/check-in/components/UpcomingAppointmentsList.jsx - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status