1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

make it work

This commit is contained in:
Matthias Kretschmann 2018-11-20 18:03:52 +01:00
parent 14fad134c8
commit 9204f7d34c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -114,11 +114,13 @@ class Numbers extends PureComponent {
} }
}) })
const repo = response.data.map(item => { const repo = response.data
if (item.name === this.props.name) { .map(item => {
return item if (item.name === this.props.name) {
} return item
}) }
})
.filter(n => n)
const { forks, stars } = repo const { forks, stars } = repo