Scheduling infrastructure for absolutely everyone.
fix: unskip confirm step if there are multiple location (#20051)
Anik Dhabal Babu7dab1003822b
diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsxindex 0840ed04dc4..cd5223826a2 100644--- a/packages/features/bookings/Booker/Booker.tsx+++ b/packages/features/bookings/Booker/Booker.tsx@@ -171,7 +171,8 @@ const BookerComponent = ({bookerState,isInstantMeeting,layout == BookerLayouts.WEEK_VIEW,- event?.data?.bookingFields+ event?.data?.bookingFields,+ event?.data?.locations);// Cloudflare Turnstile Captchadiff --git a/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.ts b/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.tsindex d5aae565777..3218dc4e55b 100644--- a/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.ts+++ b/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.ts@@ -12,7 +12,8 @@ const useSkipConfirmStep = (bookerState: BookerState,isInstantMeeting: boolean,isWeekView: boolean,- bookingFields?: BookerEvent["bookingFields"]+ bookingFields?: BookerEvent["bookingFields"],+ locations?: BookerEvent["locations"]) => {const bookingFormValues = bookingForm.getValues();@@ -21,7 +22,7 @@ const useSkipConfirmStep = (useEffect(() => {const checkSkipStep = async () => {- if (!bookingFields) {+ if (!bookingFields || (locations && locations.length > 1)) {setCanSkip(false);return;}