From 27cb719909922527a4332f9a3bec79574b6f9106 Mon Sep 17 00:00:00 2001 From: Vrishab Srivatsa Date: Tue, 12 Mar 2024 17:20:56 +0530 Subject: [PATCH] fix: changed useEffect dependency in applepay --- src/Payments/ApplePay.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payments/ApplePay.res b/src/Payments/ApplePay.res index dd627a775..a76b00636 100644 --- a/src/Payments/ApplePay.res +++ b/src/Payments/ApplePay.res @@ -317,7 +317,7 @@ let make = ( Window.removeEventListener("message", handleApplePayMessages) }, ) - }, (isInvokeSDKFlow, requiredFieldsBody, isWallet, isGuestCustomer)) + }, (isInvokeSDKFlow, requiredFieldsBody, isWallet, processPayment)) React.useEffect4(() => { if (