Skip to content

Commit

Permalink
fix: coming soon tag color on listing detail page (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyjablonski authored Apr 25, 2022
1 parent d84a7db commit 3dc54a5
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions sites/public/src/ListingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ import { ErrorPage } from "../pages/_error"
import {
getGenericAddress,
getHmiSummary,
getImageTagLabelFromListing,
getListingTags,
getUnitGroupSummary,
openInFuture,
getListingTag,
getImageCardTag,
} from "../lib/helpers"

interface ListingProps {
Expand Down Expand Up @@ -272,17 +272,7 @@ export const ListingView = (props: ListingProps) => {
<header className="image-card--leader">
<ImageCard
imageUrl={imageUrlFromListing(listing, parseInt(process.env.listingPhotoSize))}
tags={
getImageTagLabelFromListing(listing)
? [
{
text: getImageTagLabelFromListing(listing),
iconType: listing?.isVerified ? "badgeCheck" : null,
iconColor: "#193154",
},
]
: []
}
tags={getImageCardTag(listing)}
/>
<div className="py-3 mx-3">
<Heading priority={1} style={"cardHeader"}>
Expand Down

0 comments on commit 3dc54a5

Please sign in to comment.