src/applications/mhv-secure-messaging/components/ComposeForm/EditPreferences.jsx
Function EditPreferences
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const EditPreferences = () => {
const [editListModal, setEditListModal] = useState(false);
const editPreferencesButtonRef = useRef();
const handleModalClose = useCallback(() => {
focusElement(editPreferencesButtonRef.current);