From 3ab676794fcfb8ff5645c9b9cb481657f1bc7c2d Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Thu, 24 Jul 2025 12:06:12 +0530 Subject: [PATCH] fix type error (#22710) --- 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 da1d1fc237..88848cc302 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -245,7 +245,9 @@ function BookingListItem(booking: BookingItemProps) { isDisabledCancelling, isDisabledRescheduling, isCalVideoLocation: - !booking.location || booking.location === "integrations:daily" || booking?.location?.trim() === "", + !booking.location || + booking.location === "integrations:daily" || + (typeof booking.location === "string" && booking.location.trim() === ""), showPendingPayment: paymentAppData.enabled && booking.payment.length && !booking.paid, cardCharged, attendeeList,