department-of-veterans-affairs/vets-website

View on GitHub
src/applications/benefit-eligibility-questionnaire/components/SaveResultsModal.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function SaveResultsModal has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const SaveResultsModal = () => {
  const [isOpen, setIsOpen] = useState(false);
  const [showAlert, setShowAlert] = useState(false);
  const currentUrl = window.location.href;
  const toggleModal = open => {

    There are no issues that match your filters.

    Category
    Status