department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-secure-messaging/components/ComposeForm/EditPreferences.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function EditPreferences has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const EditPreferences = () => {
  const [editListModal, setEditListModal] = useState(false);
  const editPreferencesButtonRef = useRef();
  const handleModalClose = useCallback(() => {
    focusElement(editPreferencesButtonRef.current);

    There are no issues that match your filters.

    Category
    Status