Skip to content

Commit

Permalink
fix: changed useEffect dependency in applepay
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrishab Srivatsa committed Mar 12, 2024
1 parent 9ce9221 commit 27cb719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payments/ApplePay.res
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ let make = (
Window.removeEventListener("message", handleApplePayMessages)
},
)
}, (isInvokeSDKFlow, requiredFieldsBody, isWallet, isGuestCustomer))
}, (isInvokeSDKFlow, requiredFieldsBody, isWallet, processPayment))

React.useEffect4(() => {
if (
Expand Down

0 comments on commit 27cb719

Please sign in to comment.