diff --git a/ipi-survey-platform/src/components/common/CustomToast.jsx b/ipi-survey-platform/src/components/common/CustomToast.jsx index 0fa0835..a2c12b6 100644 --- a/ipi-survey-platform/src/components/common/CustomToast.jsx +++ b/ipi-survey-platform/src/components/common/CustomToast.jsx @@ -15,13 +15,13 @@ const CustomToast = ({ message, type = 'success', onClose, duration = 4000 }) => return (
- +
{message}
- )}
@@ -3204,7 +3218,6 @@ useEffect(() => { {productsError &&

{productsError}

} {unitsError &&

{unitsError}

} {formErrors['draft_general'] &&

{formErrors['draft_general']}

} - {formErrors['products_general'] &&

{formErrors['products_general']}

}
)}
@@ -3287,6 +3300,16 @@ useEffect(() => { )} + + {/* Validation Error Toast */} + {showValidationErrorToast && ( + setShowValidationErrorToast(false)} + duration={5000} + /> + )} ); };