Scheduling infrastructure for absolutely everyone.
Hotfix: bookings/past browser crash
zomars1aade4fc5706
diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsxindex c3f031896ce..03923695ef7 100644--- a/apps/web/components/booking/BookingListItem.tsx+++ b/apps/web/components/booking/BookingListItem.tsx@@ -17,8 +17,8 @@ import Badge from "@calcom/ui/v2/core/Badge";import Button from "@calcom/ui/v2/core/Button";import useMeQuery from "@lib/hooks/useMeQuery";-import { extractRecurringDates } from "@lib/parseDate";+// import { extractRecurringDates } from "@lib/parseDate";import { EditLocationDialog } from "@components/dialog/EditLocationDialog";import { RescheduleDialog } from "@components/dialog/RescheduleDialog";import TableActions, { ActionType } from "@components/ui/TableActions";@@ -175,12 +175,13 @@ function BookingListItem(booking: BookingItemProps) {};// Calculate the booking date(s) and setup recurring event data to show- let recurringStrings: string[] = [];- let recurringDates: Date[] = [];+ const recurringStrings: string[] = [];+ const recurringDates: Date[] = [];- if (booking.recurringBookings !== undefined && booking.eventType.recurringEvent?.freq !== undefined) {- [recurringStrings, recurringDates] = extractRecurringDates(booking, user?.timeZone, i18n);- }+ // @FIXME: This is importing the RRULE library which is already heavy. Find out a more optimal way do this.+ // if (booking.recurringBookings !== undefined && booking.eventType.recurringEvent?.freq !== undefined) {+ // [recurringStrings, recurringDates] = extractRecurringDates(booking, user?.timeZone, i18n);+ // }const location = booking.location || "";