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:
parent
74a5b82772
commit
6e8c5ace88
@ -39,20 +39,15 @@ const Header = () => (
|
|||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<nav className={styles.headerMenu}>
|
<nav className={styles.headerMenu}>
|
||||||
{sections
|
{sections.map(({ node }) => (
|
||||||
.filter(
|
<Link
|
||||||
({ node }) =>
|
key={node.title}
|
||||||
node.title !== 'API References'
|
to={node.link}
|
||||||
)
|
className={styles.section}
|
||||||
.map(({ node }) => (
|
>
|
||||||
<Link
|
{node.title}
|
||||||
key={node.title}
|
</Link>
|
||||||
to={node.link}
|
))}
|
||||||
className={styles.section}
|
|
||||||
>
|
|
||||||
{node.title}
|
|
||||||
</Link>
|
|
||||||
))}
|
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user