From e4668ab3fa51ab4a9906d19bca710a81d99e031f Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Wed, 10 May 2023 18:45:14 +0200 Subject: [PATCH] fix mobile view --- src/components/Layout.jsx | 4 ++-- src/components/NavigationAPI.jsx | 8 ++++---- src/components/NavigationDocs.jsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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 ( -