mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
fix(payment_link): move redirection fn to global scope for open links (#5494)
This commit is contained in:
@ -68,6 +68,7 @@ function initializeSDK() {
|
||||
setTimeout(() => {
|
||||
document.body.removeChild(shimmer);
|
||||
}, 500);
|
||||
}
|
||||
|
||||
/**
|
||||
* Use - redirect to /payment_link/status
|
||||
@ -79,4 +80,3 @@ function initializeSDK() {
|
||||
arr.unshift("payment_link");
|
||||
window.location.href = window.location.origin + "/" + arr.join("/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user