Skip to content

Commit

Permalink
format hit element
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr committed Feb 18, 2025
1 parent a22313a commit f5a1b21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/partials/ecosystem/hit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export default function Hit({ hit }: { hit: EcosystemElement }) {
<p className="leading-snug line-clamp-3">{hit.description}</p>
<div className="flex gap-2 flex-wrap-reverse mt-auto pt-4">
<Pill color={TECHNOLOGY_COLOR_MAP[hit.technology]}>{hit.technology}</Pill>
{hit.parentTechnology && (
<Pill color={TECHNOLOGY_COLOR_MAP[hit.parentTechnology]}>{hit.parentTechnology}</Pill>
)}
{hit.parentTechnology && <Pill color={TECHNOLOGY_COLOR_MAP[hit.parentTechnology]}>{hit.parentTechnology}</Pill>}
<Pill>{hit.category}</Pill>
<Pill color={TYPE_COLOR_MAP[hit.type]}>{hit.type}</Pill>
</div>
Expand Down

0 comments on commit f5a1b21

Please sign in to comment.