fix active states on side menu

This commit is contained in:
Jonathan Summers-Muir
2022-11-24 17:00:39 +08:00
parent f62c0858f4
commit 74bbfd0f97
9 changed files with 307 additions and 17 deletions

View File

@@ -125,7 +125,7 @@ const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
<IconChevronLeft size={10} strokeWidth={3} />
</div>
</div>
<span>Main Menu</span>
<span>Back to reference</span>
</a>
</Link>
<div className="flex items-center gap-3 my-3">
@@ -148,7 +148,7 @@ const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
{clientLibsCommon.commands
.filter((x) => x.product === section.key)
.map((x, index) => {
console.log(functions)
// console.log(functions)
return (
<>
<FunctionLink {...x} />