diff --git a/src/components/collections/AddPayment.jsx b/src/components/collections/AddPayment.jsx index 2bc97494..d3e01146 100644 --- a/src/components/collections/AddPayment.jsx +++ b/src/components/collections/AddPayment.jsx @@ -42,7 +42,6 @@ const AddPayment = ({ onClose }) => { }; const handleClose = (formData) => { reset(defaultPayment); - onClose(); }; return ( @@ -96,6 +95,19 @@ const AddPayment = ({ onClose }) => { {errors.amount.message} )} +
+ +