Skip to content

Commit 3b82367

Browse files
authored
fix: type error (calcom#22780)
1 parent 6b10127 commit 3b82367

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/web/components/booking/BookingListItem.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,9 @@ function BookingListItem(booking: BookingItemProps) {
515515
</div>
516516
{!isPending && (
517517
<div>
518-
{(provider?.label || locationToDisplay?.startsWith("https://")) &&
518+
{(provider?.label ||
519+
(typeof locationToDisplay === "string" &&
520+
locationToDisplay?.startsWith("https://"))) &&
519521
locationToDisplay.startsWith("http") && (
520522
<a
521523
href={locationToDisplay}

0 commit comments

Comments
 (0)