Skip to content

Commit

Permalink
fix: null contributors/mentions in masonry card stats
Browse files Browse the repository at this point in the history
  • Loading branch information
dmijatovic authored and ewan-escience committed Jul 26, 2023
1 parent 16848d3 commit e345607
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export default function SoftwareMasonryCard({item}:SoftwareCardProps){
{/* Metrics */}
<div className="flex gap-4">
<SoftwareMetrics
contributor_cnt={item.contributor_cnt}
mention_cnt={item.mention_cnt}
contributor_cnt={item.contributor_cnt ?? 0}
mention_cnt={item.mention_cnt ?? 0}
downloads={item.downloads}
/>
</div>
Expand Down

0 comments on commit e345607

Please sign in to comment.