diff --git a/src/routes/TaskShow.tsx b/src/routes/TaskShow.tsx index 2f1dfd539..28fc8582a 100644 --- a/src/routes/TaskShow.tsx +++ b/src/routes/TaskShow.tsx @@ -20,13 +20,14 @@ export default function TaskShow() { HttpService.makeCallToBackend({ path: `/tasks/${params.process_instance_id}/${params.task_id}`, successCallback: setTask, - failureCallback: setErrorMessage, + // This causes the page to continuously reload + // failureCallback: setErrorMessage, }); HttpService.makeCallToBackend({ path: `/process-instance/${params.process_instance_id}/tasks`, successCallback: setUserTasks, }); - }, [params, setErrorMessage]); + }, [params]); const processSubmitResult = (result: any) => { setErrorMessage(null);