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

remove menu filter

This commit is contained in:
Matthias Kretschmann 2018-11-29 19:00:18 +01:00
parent 74a5b82772
commit 6e8c5ace88
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -39,20 +39,15 @@ const Header = () => (
</Link>
<nav className={styles.headerMenu}>
{sections
.filter(
({ node }) =>
node.title !== 'API References'
)
.map(({ node }) => (
<Link
key={node.title}
to={node.link}
className={styles.section}
>
{node.title}
</Link>
))}
{sections.map(({ node }) => (
<Link
key={node.title}
to={node.link}
className={styles.section}
>
{node.title}
</Link>
))}
</nav>
</div>
</header>