Skip to content

Commit 34b8a1b

Browse files
committed
ts errors for docs
1 parent 86be876 commit 34b8a1b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
node-version: '20'
3232
cache: 'npm'
33-
cache-dependency-path: docs/package-lock.json
33+
cache-dependency-path: docs/package.json
3434

3535
- name: Install dependencies
3636
working-directory: docs

‎docs/src/components/Sidebar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function Sidebar() {
6060
)}
6161
/>
6262
</button>
63-
{isExpanded && (
63+
{isExpanded && item.children && (
6464
<ul className="mt-1 ml-3 space-y-1 border-l border-border pl-3">
6565
{item.children.map((child) => (
6666
<li key={child.href}>

0 commit comments

Comments
 (0)