Skip to content

Commit

Permalink
fix: apple_pay check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Mar 12, 2024
1 parent c0e2fd6 commit 0fc2b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Payments/ApplePay.res
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ let make = (
->ignore
}

React.useEffect3(() => {
React.useEffect4(() => {
let handleApplePayMessages = (ev: Window.event) => {
let json = try {
ev.data->Js.Json.parseExn
Expand Down Expand Up @@ -317,7 +317,7 @@ let make = (
Window.removeEventListener("message", handleApplePayMessages)
},
)
}, (isInvokeSDKFlow, requiredFieldsBody, isWallet))
}, (isInvokeSDKFlow, requiredFieldsBody, isWallet, isGuestCustomer))

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

0 comments on commit 0fc2b81

Please sign in to comment.