fix grouped project callback dependency

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex committed 2026-07-23 14:20:20 +02:00
1 parent ce8d699b9e
commit a4061ce9ad
1 file changed
+1 -1
+1 -1
View File
@@ -1536,7 +1536,7 @@ export default function SidebarV2() {
}
if (isMobile) setOpenMobile(false);
openCommandPalette({ open: "new-thread-in" });
}, [isMobile, newThreadContext, projects.length, setOpenMobile]);
}, [isMobile, newThreadContext, projectGroups.length, setOpenMobile]);
const commandPaletteShortcutLabel = shortcutLabelForCommand(keybindings, "commandPalette.toggle");
// Same resolution as v1: prefer the local-thread binding, fall back to