File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cards/components/githubCard Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11export type User = {
22 id : string
33 name : string
4- connectedAt ?: Date
4+ connectedAt ?: string
55 imageURL ?: string
66 streak ?: number
77}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const RepoItem = ({
5151 < VscStarFull className = "rowItemIcon" /> { numberWithCommas ( item . stars_count ) } stars
5252 </ span >
5353 ) }
54- { item . stars_in_range && (
54+ { item . stars_in_range !== undefined && (
5555 < span className = "rowItem" >
5656 < VscStarFull className = "rowItemIcon" /> { ' ' }
5757 { numberWithCommas ( item . stars_in_range || 0 ) } stars{ ' ' }
@@ -60,7 +60,7 @@ const RepoItem = ({
6060 : 'today' }
6161 </ span >
6262 ) }
63- { item . forks_count && (
63+ { item . forks_count !== undefined && (
6464 < span className = "rowItem" >
6565 < VscRepoForked className = "rowItemIcon" /> { numberWithCommas ( item . forks_count ) } { ' ' }
6666 forks
You can’t perform that action at this time.
0 commit comments