From 3b823670eadcfa891ee8be541616e267d56e204d Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Mon, 28 Jul 2025 21:51:51 +0530 Subject: [PATCH] fix: type error (#22780) --- 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 01c0264e88..f172d15721 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -515,7 +515,9 @@ function BookingListItem(booking: BookingItemProps) { {!isPending && (
- {(provider?.label || locationToDisplay?.startsWith("https://")) && + {(provider?.label || + (typeof locationToDisplay === "string" && + locationToDisplay?.startsWith("https://"))) && locationToDisplay.startsWith("http") && (