From 4ff2ab1bc8a8344a7cc83dc0c1756e540719f8f1 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Fri, 5 Apr 2024 11:20:16 -0400 Subject: [PATCH] - Remove actions params in Payment modal, which was causing issues. Signed-off-by: Dave Richer --- client/src/components/payment-modal/payment-modal.container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/payment-modal/payment-modal.container.jsx b/client/src/components/payment-modal/payment-modal.container.jsx index f993c13b8..0c5a9eb3c 100644 --- a/client/src/components/payment-modal/payment-modal.container.jsx +++ b/client/src/components/payment-modal/payment-modal.container.jsx @@ -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"]);