Skip to content

Commit 71e316d

Browse files
committed
Fix RunTask button bug
1 parent d1ba5c5 commit 71e316d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/common/ChatInputArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputAreaProps>(
109109
{taskInProgress ? (
110110
<AbortTaskButton abortTask={() => dispatch(abortPlan())} disabled={!taskInProgress}/>
111111
) : (
112-
<RunTaskButton runTask={runTask} disabled={taskInProgress} />
112+
<RunTaskButton runTask={() => runTask(instructions)} disabled={taskInProgress} />
113113
)}
114114
</HStack>
115115
</HStack>

0 commit comments

Comments
 (0)