Fix NavButton text not showing and remove unused Sidebar.

Show NavButton text whenever sidebar is not collapsed, not only on
pages without sub-navigation. Also remove unused Sidebar component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mike CaoandClaude Opus 4.6 committed 2026-02-06 03:12:47 -08:00
1 parent 28c9c7d3ec
commit 18c3ffc2d8
2 files changed
+1 -123

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ export function SideNav(props: any) {
</Row>
</Row>
<Row marginBottom="4">
<NavButton showText={!hasNav && !isCollapsed} onAction={handleSelect} />
<NavButton showText={!isCollapsed} onAction={handleSelect} />
</Row>
<Column gap="2">
{links.map(({ id, path, label, icon }) => {