diff --git a/src/components/events/partials/modals/StartTaskModal.tsx b/src/components/events/partials/modals/StartTaskModal.tsx index ce559f1a30..1c59b722ee 100644 --- a/src/components/events/partials/modals/StartTaskModal.tsx +++ b/src/components/events/partials/modals/StartTaskModal.tsx @@ -84,7 +84,7 @@ const StartTaskModal = ({ }; const handleSubmit = (values: typeof initialValues) => { - postTasks(values); + dispatch(postTasks(values)); dispatch(changeAllSelected(false)); close(); };