From 000324c02dd7fc9a530a419914fb6063b02c8c2e Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Fri, 25 Jul 2025 10:02:24 +0530 Subject: [PATCH] fix: a.trim is not a function type error (#22728) --- apps/web/components/booking/BookingListItem.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 88848cc302..01c0264e88 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;