Skip to content

Commit

Permalink
feat: isolate paymentElementCreate m
Browse files Browse the repository at this point in the history
essage from preMountLoader promise
  • Loading branch information
vsrivatsa-juspay committed May 20, 2024
1 parent a2329c5 commit 543c946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orca-loader/Elements.res
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,10 @@ let make = (
fetchCustomerPaymentMethods(mountedIframeRef, false, componentType)
}
fetchSessionTokens(mountedIframeRef)
mountedIframeRef->Window.iframePostMessage(message)
resolve()
})
->ignore
mountedIframeRef->Window.iframePostMessage(message)
}

let paymentElement = LoaderPaymentElement.make(
Expand Down

0 comments on commit 543c946

Please sign in to comment.