From a660b1eb0559c7828beee253f9cc019addece0d8 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:19:25 +0100 Subject: [PATCH] fix: conditionally remove fixed prop if we're in embed (#14586) * fix: conditionally remove fixed prop if we're in embed * fix: conditionally remove fixed prop if we're in embed --- packages/features/bookings/Booker/Booker.tsx | 28 +++++++++++--------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index 17198fcacd..98b600b72a 100644 --- a/packages/features/bookings/Booker/Booker.tsx +++ b/packages/features/bookings/Booker/Booker.tsx @@ -247,18 +247,6 @@ const BookerComponent = ({ <> {event.data && !isPlatform ? : <>} - {bookerState !== "booking" && event.data?.isInstantEvent && ( -
- { - onConnectNowInstantMeeting(); - }} - /> -
- )}
+ + {bookerState !== "booking" && event.data?.isInstantEvent && ( +
+ { + onConnectNowInstantMeeting(); + }} + /> +
+ )} {!hideBranding && !isPlatform && (