fix grouped project callback dependency
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
ce8d699b9e
commit
a4061ce9ad
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user