department-of-veterans-affairs/vets-website

View on GitHub
src/applications/check-in/hooks/usePostTravelOnlyClaim.jsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function usePostTravelOnlyClaim has 81 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const usePostTravelOnlyClaim = props => {
  const { router } = props;
  const { jumpToPage } = useFormRouting(router);
  const [isLoading, setIsLoading] = useState(false);
  const [isComplete, setIsComplete] = useState(false);
Severity: Major
Found in src/applications/check-in/hooks/usePostTravelOnlyClaim.jsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status