Resolve ES Lint error.

This commit is contained in:
Patrick Fic
2024-04-08 11:05:12 -07:00
parent a2a7c1c58c
commit b8e4520366
2 changed files with 7 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ const PaymentReexportButton = ({ paymentModal, payment, refetch, setPaymentConte
});
if (refetch) {
if (context.refetchRequiresContext) {
if (paymentModal.context.refetchRequiresContext) {
refetch(paymentUpdateResponse && paymentUpdateResponse.data.update_payments.returning[0]);
} else {
refetch();