Scheduling infrastructure for absolutely everyone.
fix: a.trim is not a function type error (#22728)
Anik Dhabal Babu000324c02dd7
diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsxindex 88848cc3023..01c0264e88e 100644--- a/apps/web/components/booking/BookingListItem.tsx+++ b/apps/web/components/booking/BookingListItem.tsx@@ -347,7 +347,9 @@ function BookingListItem(booking: BookingItemProps) {const title = booking.title;const isCalVideoLocation =- !booking.location || booking.location === "integrations:daily" || booking?.location?.trim() === "";+ !booking.location ||+ booking.location === "integrations:daily" ||+ (typeof booking.location === "string" && booking.location.trim() === "");const showPendingPayment = paymentAppData.enabled && booking.payment.length && !booking.paid;