fix: type error (#22780)

This commit is contained in:
Anik Dhabal Babu
2025-07-28 16:21:51 +00:00
committed by GitHub
parent 6b10127d97
commit 3b823670ea
@@ -515,7 +515,9 @@ function BookingListItem(booking: BookingItemProps) {
</div>
{!isPending && (
<div>
{(provider?.label || locationToDisplay?.startsWith("https://")) &&
{(provider?.label ||
(typeof locationToDisplay === "string" &&
locationToDisplay?.startsWith("https://"))) &&
locationToDisplay.startsWith("http") && (
<a
href={locationToDisplay}