[offers][fix] remove display of offers for 0 offers

pull/536/head
Zhang Ziqing 3 years ago
parent d284b2b609
commit c06887f720

@ -62,9 +62,11 @@ export default function OfferTableRow({
href={`/offers/profile/${profileId}`}>
View Profile
</Link>
<div className="text-xs text-slate-500">
This person also received {numberOfOtherOffers} other offer(s).
</div>
{numberOfOtherOffers > 0 && (
<div className="text-xs text-slate-500">
This person also received {numberOfOtherOffers} other offer(s).
</div>
)}
</td>
</tr>
);

Loading…
Cancel
Save