Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Guard commitRename cleanup against concurrent renames
Julius Marmingec530e5d50f5a
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsxindex cdd39ceb9..21c900505 100644--- a/apps/web/src/components/Sidebar.tsx+++ b/apps/web/src/components/Sidebar.tsx@@ -543,7 +543,11 @@ export default function Sidebar() {description: error instanceof Error ? error.message : "An error occurred.",});}- cancelRename();+ setRenamingThreadId((current) => {+ if (current !== threadId) return current;+ renamingInputRef.current = null;+ return null;+ });},[cancelRename],);