diff --git a/packages/features/bookings/components/AvailableTimes.tsx b/packages/features/bookings/components/AvailableTimes.tsx index 1fb6148530d0f8..6aec979ff46da4 100644 --- a/packages/features/bookings/components/AvailableTimes.tsx +++ b/packages/features/bookings/components/AvailableTimes.tsx @@ -102,11 +102,10 @@ const SlotItem = ({ const [showConfirm, setShowConfirm] = useState(false); const onButtonClick = useCallback(() => { - if (!showConfirm && (isOverlapping || skipConfirmStep)) { + if (!showConfirm && ((overlayCalendarToggled && isOverlapping) || skipConfirmStep)) { setShowConfirm(true); return; } - setShowConfirm(false); onTimeSelect(slot.time, slot?.attendees || 0, seatsPerTimeSlot, slot.bookingUid); }, [ overlayCalendarToggled, @@ -125,7 +124,14 @@ const SlotItem = ({