mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Fix: Lint issue
This commit is contained in:
parent
c620ff37c7
commit
b6fdecbcf5
@ -131,12 +131,13 @@ exports.createPages = ({ graphql, actions }) => {
|
||||
await createSwaggerPages(createPage)
|
||||
|
||||
// API: ocean.js
|
||||
const lastRelease = result.data.oceanJs.repository.releases.edges.filter(
|
||||
({ node }) =>
|
||||
!node.isPrerelease &&
|
||||
!node.isDraft &&
|
||||
node.releaseAssets.edges.length > 0
|
||||
)[0].node.releaseAssets.edges[0].node
|
||||
const lastRelease =
|
||||
result.data.oceanJs.repository.releases.edges.filter(
|
||||
({ node }) =>
|
||||
!node.isPrerelease &&
|
||||
!node.isDraft &&
|
||||
node.releaseAssets.edges.length > 0
|
||||
)[0].node.releaseAssets.edges[0].node
|
||||
|
||||
await createTypeDocPage(
|
||||
createPage,
|
||||
|
Loading…
Reference in New Issue
Block a user