[offers][fix] remove display of offers for 0 offers (#536)

pull/538/head
Zhang Ziqing 2 years ago committed by GitHub
parent d284b2b609
commit 5acda1cde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save