Possible fix for iOS redirection (#8455)

This commit is contained in:
Hariom Balhara 2023-04-22 23:15:22 +05:30 committed by GitHub
parent 39b6def444
commit 82b6b83885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ export const bookingSuccessRedirect = async ({
// Using parent ensures, Embed iframe would redirect outside of the iframe.
window.parent.location.href = url.toString();
return;
}
return router.push({
pathname: `/booking/${bookingUid}`,