Skip to content

Commit 3b8ae8f

Browse files
committed
Revert "Await for create too - prevents race with TaskLogsPanel useEffect"
This reverts commit d26c411.
1 parent b1d1e70 commit 3b8ae8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/twig/src/renderer/sagas/task/task-creation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ export class TaskCreationSaga extends Saga<
200200
repoPath: agentCwd ?? "",
201201
});
202202
} else {
203-
// Await for create too - prevents race with TaskLogsPanel useEffect
204-
await getSessionActions().connectToTask({
203+
// Don't await for create - allows faster navigation to task page
204+
getSessionActions().connectToTask({
205205
task,
206206
repoPath: agentCwd ?? "",
207207
initialPrompt,

0 commit comments

Comments
 (0)