Skip to content

Commit 51e76c0

Browse files
.
1 parent 1300de7 commit 51e76c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/DocsSidebar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const sidebarMap = {
1717
'about': 'getting-started',
1818
}
1919
20-
const sidebar = getData(`sidebar-${sidebarMap[slug]}`)
20+
const sidebar = sidebarMap[slug] ? getData(`sidebar-${sidebarMap[slug]}`) || []
2121
---
2222
2323
<nav class="bd-links w-100" id="bd-docs-nav" aria-labelledby="docs-nav">

0 commit comments

Comments
 (0)