Skip to content

Commit

Permalink
Fix: test form: update the callback when the task changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-aitken committed Dec 8, 2024
1 parent 2a07ea4 commit b411313
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function StandardTaskForm({ task, runs }: { task: TestTask["task"]; runs: Standa
);
e.preventDefault();
},
[currentPayloadJson, currentMetadataJson]
[currentPayloadJson, currentMetadataJson, task]
);

const [form, { environmentId, payload }] = useForm({
Expand Down

0 comments on commit b411313

Please sign in to comment.