fix: sidebar on mobile

This commit is contained in:
Valerio Ageno
2024-08-15 21:08:18 +02:00
parent e7ea7ed1c4
commit 92820804f8
@@ -22,7 +22,12 @@ export default function Sidebar({ close }: { close: () => void }): JSX.Element {
label="Getting started"
onClick={close}
/>
<SidebarLink label="Routing" href="/documentation/routing" defaultOpened>
<SidebarLink
label="Routing"
href="/documentation/routing"
defaultOpened
onClick={close}
>
<SidebarLink
href="/documentation/routing/intro"
label="Project structure"