Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(chat): set pendingTask before invalidating queries
yushen6fa68fe20e08
diff --git a/apps/web/features/chat/components/chat-window.tsx b/apps/web/features/chat/components/chat-window.tsxindex 33a70696b8..4b2f20578c 100644--- a/apps/web/features/chat/components/chat-window.tsx+++ b/apps/web/features/chat/components/chat-window.tsx@@ -170,8 +170,8 @@ export function ChatWindow() {);const result = await api.sendChatMessage(sessionId, content);- qc.invalidateQueries({ queryKey: chatKeys.messages(sessionId) });setPendingTask(result.task_id);+ qc.invalidateQueries({ queryKey: chatKeys.messages(sessionId) });},[activeSessionId,