We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b10127 commit 3b82367Copy full SHA for 3b82367
1 file changed
apps/web/components/booking/BookingListItem.tsx
@@ -515,7 +515,9 @@ function BookingListItem(booking: BookingItemProps) {
515
</div>
516
{!isPending && (
517
<div>
518
- {(provider?.label || locationToDisplay?.startsWith("https://")) &&
+ {(provider?.label ||
519
+ (typeof locationToDisplay === "string" &&
520
+ locationToDisplay?.startsWith("https://"))) &&
521
locationToDisplay.startsWith("http") && (
522
<a
523
href={locationToDisplay}
0 commit comments