From 6722f8b1e54acef53af09762875d27d7a1d8b8aa Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Fri, 5 Apr 2024 13:41:37 -0400 Subject: [PATCH] - reversion 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 51cd9bfc0..b7e2eaf9c 100644 --- a/client/src/components/payment-modal/payment-modal.container.jsx +++ b/client/src/components/payment-modal/payment-modal.container.jsx @@ -32,7 +32,7 @@ function PaymentModalContainer({paymentModal, toggleModalVisible, bodyshop }) { const { t } = useTranslation(); const { context, actions, open } = paymentModal; - const { smartRefetch } = context; + const smartRefetch = context?.smartRefetch || false; const [loading, setLoading] = useState(false); const handleFinish = async (values) => {