diff --git a/desktop/src/ui/components/Sidebar.tsx b/desktop/src/ui/components/Sidebar.tsx index bfe1ad76..20db6870 100644 --- a/desktop/src/ui/components/Sidebar.tsx +++ b/desktop/src/ui/components/Sidebar.tsx @@ -8,7 +8,7 @@ type SidebarProps = ParentProps & { }; base: string; links: { - [key: string]: [JSX.Element, string, string][]; + [key: string]: ([JSX.Element, string, string] | undefined)[]; }; }; @@ -44,19 +44,24 @@ function Sidebar(props: SidebarProps) {