Skip to content

Scheduling infrastructure for absolutely everyone.

Possible fix for iOS redirection (#8455)

Hariom Balhara82b6b83885b1
diff --git a/packages/lib/bookingSuccessRedirect.ts b/packages/lib/bookingSuccessRedirect.ts
index 9a613555666..ee1c357f042 100644
--- a/packages/lib/bookingSuccessRedirect.ts
+++ b/packages/lib/bookingSuccessRedirect.ts
@@ -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}`,