Possible fix for iOS redirection (#8455)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-04-22 19:45:22 +02:00
1 parent 39b6def444
commit 82b6b83885
1 file changed
+1
+1
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}`,