fix: keep composer text visible during workspace creation
No-op clearDraft so the prompt stays while worktree + agent are being created. Screen navigates away on success; text remains for retry on error.
This commit is contained in:
@@ -230,7 +230,9 @@ export function NewWorkspaceScreen({
|
|||||||
onChangeText={chatDraft.setText}
|
onChangeText={chatDraft.setText}
|
||||||
images={chatDraft.images}
|
images={chatDraft.images}
|
||||||
onChangeImages={chatDraft.setImages}
|
onChangeImages={chatDraft.setImages}
|
||||||
clearDraft={chatDraft.clear}
|
clearDraft={() => {
|
||||||
|
// No-op: screen navigates away on success, text should stay for retry on error
|
||||||
|
}}
|
||||||
autoFocus
|
autoFocus
|
||||||
commandDraftConfig={composerState?.commandDraftConfig}
|
commandDraftConfig={composerState?.commandDraftConfig}
|
||||||
statusControls={
|
statusControls={
|
||||||
|
|||||||
Reference in New Issue
Block a user