fix (#28119)
This commit is contained in:
@@ -7,9 +7,9 @@ import {
|
||||
useBookerStoreContext,
|
||||
useInitializeBookerStoreContext,
|
||||
} from "@calcom/features/bookings/Booker/BookerStoreProvider";
|
||||
import { useBookerLayout } from "@calcom/features/bookings/Booker/components/hooks/useBookerLayout";
|
||||
import { useBookingForm } from "@calcom/features/bookings/Booker/components/hooks/useBookingForm";
|
||||
import { useLocalSet } from "@calcom/features/bookings/Booker/components/hooks/useLocalSet";
|
||||
import { useBookerLayout } from "@calcom/features/bookings/Booker/hooks/useBookerLayout";
|
||||
import { useBookingForm } from "@calcom/features/bookings/Booker/hooks/useBookingForm";
|
||||
import { useLocalSet } from "@calcom/features/bookings/Booker/hooks/useLocalSet";
|
||||
import { useStableTimezone } from "@calcom/features/bookings/Booker/hooks/useStableTimezone";
|
||||
import { useInitializeBookerStore } from "@calcom/features/bookings/Booker/store";
|
||||
import { useTimePreferences } from "@calcom/features/bookings/lib";
|
||||
@@ -299,10 +299,10 @@ const BookerPlatformWrapperComponent = (
|
||||
teamMemberEmail: teamMemberEmail ?? undefined,
|
||||
...(props.isTeamEvent
|
||||
? {
|
||||
isTeamEvent: props.isTeamEvent,
|
||||
teamId: teamId,
|
||||
rrHostSubsetIds: rrHostSubsetIds,
|
||||
}
|
||||
isTeamEvent: props.isTeamEvent,
|
||||
teamId: teamId,
|
||||
rrHostSubsetIds: rrHostSubsetIds,
|
||||
}
|
||||
: {}),
|
||||
enabled:
|
||||
Boolean(teamId || username) &&
|
||||
@@ -322,7 +322,7 @@ const BookerPlatformWrapperComponent = (
|
||||
}
|
||||
}, [schedule.data, schedule.isPending, schedule.error, onTimeslotsLoaded]);
|
||||
|
||||
const bookerForm= useBookingForm({
|
||||
const bookerForm = useBookingForm({
|
||||
event: event?.data,
|
||||
sessionEmail:
|
||||
session?.data?.email && clientId
|
||||
@@ -452,8 +452,8 @@ const BookerPlatformWrapperComponent = (
|
||||
isBookingDryRun: isBookingDryRun ?? routingParams?.isBookingDryRun,
|
||||
...(props.isTeamEvent
|
||||
? {
|
||||
rrHostSubsetIds: rrHostSubsetIds,
|
||||
}
|
||||
rrHostSubsetIds: rrHostSubsetIds,
|
||||
}
|
||||
: {}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user