Skip to content

Commit

Permalink
fix: load Trustpay Script only after all API data is sent to Elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrishab Srivatsa committed Apr 24, 2024
1 parent 0482811 commit 35d17a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/orca-loader/Elements.res
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ let make = (
let json = event.data->anyTypeToJson
let dict = json->getDictFromJson
if dict->Dict.get("preMountLoaderIframeUnMount")->Belt.Option.isSome {
Console.log("Lets load Trustpay script")
resolve()
}
}
Expand Down

0 comments on commit 35d17a8

Please sign in to comment.