diff --git a/src/components/app-sidebar.tsx b/src/components/app-sidebar.tsx index 2f8c4f5..b68633b 100644 --- a/src/components/app-sidebar.tsx +++ b/src/components/app-sidebar.tsx @@ -63,17 +63,14 @@ const data = { navSecondary: [ { title: "Settings", - url: "#", icon: SettingsIcon, }, { title: "Help", - url: "#", icon: HelpCircleIcon, }, { title: "Search", - url: "#", icon: SearchIcon, }, ], diff --git a/src/components/nav-secondary.tsx b/src/components/nav-secondary.tsx index 831ad91..72fec97 100644 --- a/src/components/nav-secondary.tsx +++ b/src/components/nav-secondary.tsx @@ -18,7 +18,7 @@ export function NavSecondary({ }: { items: { title: string; - url: string; + url?: string; icon: LucideIcon; }[]; } & React.ComponentPropsWithoutRef) { @@ -35,15 +35,30 @@ export function NavSecondary({ {items.map((item) => ( - - - - {item.title} - - + {item.url ? ( + + + + {item.title} + + + ) : ( + + + )} ))}