diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx index 1443f8318d..789576f23e 100644 --- a/apps/web/components/booking/pages/BookingPage.tsx +++ b/apps/web/components/booking/pages/BookingPage.tsx @@ -153,7 +153,7 @@ const BookingPage = ({ const recurringMutation = useMutation(createRecurringBooking, { onSuccess: async (responseData = []) => { - const { attendees = [], recurringEventId } = responseData[0] || {}; + const { attendees = [], id, recurringEventId } = responseData[0] || {}; const location = (function humanReadableLocation(location) { if (!location) { return; @@ -177,6 +177,7 @@ const BookingPage = ({ email: attendees[0].email, location, eventName: profile.eventName || "", + bookingId: id, }, }); }, diff --git a/apps/web/pages/success.tsx b/apps/web/pages/success.tsx index 21246f120b..52b0e715e5 100644 --- a/apps/web/pages/success.tsx +++ b/apps/web/pages/success.tsx @@ -310,14 +310,6 @@ export default function Success(props: SuccessProps) {
{bookingInfo.user.name}
@@ -556,9 +548,9 @@ function RecurringBookings({ {eventType.recurringEvent?.count && recurringBookings.slice(0, 4).map((dateStr, idx) => (