- Remove actions params in Payment modal, which was causing issues.

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-04-05 11:20:16 -04:00
parent 83a976e98f
commit 4ff2ab1bc8

View File

@@ -90,7 +90,7 @@ function PaymentModalContainer({ paymentModal, toggleModalVisible, bodyshop, cur
}
}
if (actions.refetch) actions.refetch(updatedPayment && updatedPayment.data.update_payments.returning[0]);
if (actions.refetch) actions.refetch();
if (enterAgain) {
const prev = form.getFieldsValue(["date"]);