1
0
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:
Akshay 2021-06-01 11:45:21 +02:00
parent c620ff37c7
commit b6fdecbcf5

View File

@ -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,