Skip to content

Commit c62a5d6

Browse files
committed
Fix: move preparingWorktree=false after dispatchCommand so indicator renders during server-side worktree creation
1 parent e446571 commit c62a5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/components/ChatView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2803,7 +2803,6 @@ export default function ChatView({ threadId }: ChatViewProps) {
28032803
});
28042804
}
28052805

2806-
beginLocalDispatch({ preparingWorktree: false });
28072806
const turnAttachments = await turnAttachmentsPromise;
28082807
const bootstrap =
28092808
isLocalDraftThread || baseBranchForWorktree
@@ -2851,6 +2850,7 @@ export default function ChatView({ threadId }: ChatViewProps) {
28512850
...(bootstrap ? { bootstrap } : {}),
28522851
createdAt: messageCreatedAt,
28532852
});
2853+
beginLocalDispatch({ preparingWorktree: false });
28542854
turnStartSucceeded = true;
28552855
})().catch(async (err: unknown) => {
28562856
if (

0 commit comments

Comments
 (0)