diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/DashboardSidebar.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/DashboardSidebar.tsx index a4d63759959..ecbd1a2d622 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/DashboardSidebar.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/DashboardSidebar.tsx @@ -98,7 +98,6 @@ export function DashboardSidebar({ }: DashboardSidebarProps) { const { groups, refreshWorkspacePullRequest, toggleProjectCollapsed } = useDashboardSidebarData(); - const workspaceShortcutLabels = useDashboardSidebarShortcuts(groups); const { reorderProjects } = useDashboardSidebarState(); const navigate = useNavigate(); const matchRoute = useMatchRoute(); @@ -136,6 +135,8 @@ export function DashboardSidebar({ .filter((g): g is DashboardSidebarProject => g != null); }, [groups, projectOrder]); + const workspaceShortcutLabels = useDashboardSidebarShortcuts(orderedGroups); + const activeV2Project = useMemo(() => { if (!activeV2WorkspaceId) return null; for (const project of groups) {