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:
1 parent
28c9c7d3ec
commit
18c3ffc2d8
2 files changed
+1
-123
No files matched your search
@@ -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 }) => {
|
||||
|
||||
Reference in new issue
Block a user