Skip to content

Commit ff564dd

Browse files
committed
filter all langs repos
1 parent e2e6286 commit ff564dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/cards/ReposCard.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ 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)
154+
console.log(666, values)
153155
const nbrTags = values.length
154156
let minLength = Math.min(...values.map(v => v.length))
155157
const data = []

0 commit comments

Comments
 (0)