From f335cc426952178ec2fdd45d60d614bcb1e3382d Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Thu, 13 Mar 2025 12:52:02 +0530 Subject: [PATCH] fix: hide slot unavailable message for instant meetings (#20002) * fix: hide slot unavailable message for instant meetings * fix: --- packages/features/bookings/Booker/Booker.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index 75e61ae782..6b929ccffd 100644 --- a/packages/features/bookings/Booker/Booker.tsx +++ b/packages/features/bookings/Booker/Booker.tsx @@ -131,6 +131,7 @@ const BookerComponent = ({ const timeslotsRef = useRef(null); const isQuickAvailabilityCheckFeatureEnabled = useIsQuickAvailabilityCheckFeatureEnabled(); + const StickyOnDesktop = isMobile ? "div" : StickyBox; const { bookerFormErrorRef, key, formEmail, bookingForm, errors: formErrors } = bookerForm; @@ -230,7 +231,7 @@ const BookerComponent = ({ onSubmit={() => (renderConfirmNotVerifyEmailButtonCond ? handleBookEvent() : handleVerifyEmail())} errorRef={bookerFormErrorRef} errors={{ ...formErrors, ...errors }} - isTimeslotUnavailable={unavailableTimeSlots.includes(selectedTimeslot || "")} + isTimeslotUnavailable={!isInstantMeeting && unavailableTimeSlots.includes(selectedTimeslot || "")} loadingStates={loadingStates} renderConfirmNotVerifyEmailButtonCond={renderConfirmNotVerifyEmailButtonCond} bookingForm={bookingForm}