Skip to content

Commit 1c98690

Browse files
authored
Merge pull request #75 from medyo/hotfix/aggr-repos
Skip github repos of non supported tags
2 parents e2e6286 + cb794b6 commit 1c98690

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/cards/ReposCard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ function ReposCard({ analyticsTag, icon, withAds }) {
150150
t => !t.githubValues ? false : githubApi.getTrending(t.githubValues[0], since)
151151
)
152152
let values = await Promise.all(promises)
153+
values = values.filter(Boolean)
153154
const nbrTags = values.length
154155
let minLength = Math.min(...values.map(v => v.length))
155156
const data = []

0 commit comments

Comments
 (0)