mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-06-30 21:52:06 +02: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