mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-02-03 02:24:47 +08:00
[offers][fix] remove display of offers for 0 offers (#536)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user