mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Fix: Correct use of splice function
This commit is contained in:
parent
bb4be5b7ff
commit
2011912c8a
@ -90,8 +90,7 @@ const Repository = ({ name, links, readme }) => (
|
||||
.filter(({ node }) => {
|
||||
return !node.isDraft
|
||||
})
|
||||
.splice(1)
|
||||
|
||||
.splice(0, 1)
|
||||
repo = {
|
||||
...repo,
|
||||
releases: { edges: releasesFilteredArray }
|
||||
|
Loading…
Reference in New Issue
Block a user