src/applications/caregivers/components/FormAlerts/SubmissionErrorAlert.jsx
Function SubmissionErrorAlert
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const SubmissionErrorAlert = () => {
useEffect(() => {
focusElement('.caregiver-error-message');
}, []);