diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index d2b4e7b0..1e5c44d1 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -158,8 +158,8 @@ export function Layout({ children, title, tableOfContents }) {
- {router.route.startsWith("/ipa") && } - {router.route.startsWith("/docs") &&} + {router.route.startsWith("/ipa") && } + {router.route.startsWith("/docs") && }
diff --git a/src/components/NavigationAPI.jsx b/src/components/NavigationAPI.jsx index c7b92065..3ba39b27 100644 --- a/src/components/NavigationAPI.jsx +++ b/src/components/NavigationAPI.jsx @@ -35,9 +35,9 @@ export const apiNavigation = [ }, ] -export function NavigationAPI(props) { +export function NavigationAPI({tableOfContents, className}) { return ( -