Remove quick actions from sidebar
This commit is contained in:
@@ -75,26 +75,7 @@ export function AppSidebar() {
|
||||
</SidebarMenu>
|
||||
</SidebarGroupContent>
|
||||
</SidebarGroup>
|
||||
<SidebarSeparator />
|
||||
<SidebarGroup>
|
||||
<SidebarGroupLabel>Quick Actions</SidebarGroupLabel>
|
||||
<SidebarGroupContent>
|
||||
<SidebarMenu>
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton
|
||||
asChild
|
||||
tooltip="Add Product"
|
||||
isActive={location.pathname === "/products/new"}
|
||||
>
|
||||
<a href="/products/new">
|
||||
<Plus className="h-4 w-4" />
|
||||
<span className="group-data-[collapsible=icon]:hidden">Add Product</span>
|
||||
</a>
|
||||
</SidebarMenuButton>
|
||||
</SidebarMenuItem>
|
||||
</SidebarMenu>
|
||||
</SidebarGroupContent>
|
||||
</SidebarGroup>
|
||||
|
||||
</SidebarContent>
|
||||
<SidebarFooter>
|
||||
<SidebarMenu>
|
||||
|
||||
Reference in New Issue
Block a user