Fix API rendering

This commit is contained in:
braginini
2023-05-23 20:47:20 +02:00
parent 339f66ecbe
commit 1062925d4d
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ function NavigationGroup({ group, className, tableOfContents }) {
transition: { duration: 0.15 },
}}
>
{router.route.startsWith("/api/resources") && tableOfContents?.map((section) => (
{router.route.startsWith("/ipa/resources") && tableOfContents?.map((section) => (
<li key={section.id}>
<NavLink
href={`${link.href}#${section.id}`}