Resolve ES Lint error.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user