diff --git a/frontend/components/listings/detail/ListingDetail.tsx b/frontend/components/listings/detail/ListingDetail.tsx index fb61972..612d439 100644 --- a/frontend/components/listings/detail/ListingDetail.tsx +++ b/frontend/components/listings/detail/ListingDetail.tsx @@ -56,10 +56,8 @@ export const ListingDetail = ({ listing, initialIsFavorited }: Props) => { toggleFavoriteMutation.mutate(!isFavorited); }; - const subletCoords = - listingType === "sublet" ? listing.additional_data : null; - const hasLocation = - subletCoords?.latitude != null && subletCoords?.longitude != null; + const subletCoords = listingType === "sublet" ? listing.additional_data : null; + const hasLocation = subletCoords?.latitude != null && subletCoords?.longitude != null; return (
- Approximate location shown. The exact location will be shared once you connect with the owner. + Approximate location shown. The exact location will be shared once you connect + with the owner.
-