Skip to content

Commit

Permalink
fix: HS-222: Google pay dynamic fields body going as empty (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
prafulkoppalkar authored Dec 7, 2023
1 parent ba6860f commit 05fadf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Payments/GPay.res
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let default = (props: props) => {
)
}

React.useEffect0(() => {
React.useEffect1(() => {
let handle = (ev: Window.event) => {
let json = try {
ev.data->Js.Json.parseExn
Expand Down Expand Up @@ -105,7 +105,7 @@ let default = (props: props) => {
}
Window.addEventListener("message", handle)
Some(() => {Window.removeEventListener("message", handle)})
})
}, [requiredFieldsBody])

let (_, buttonType, _) = options.wallets.style.type_
let (_, heightType, _) = options.wallets.style.height
Expand Down

0 comments on commit 05fadf5

Please sign in to comment.