diff --git a/frontend/src/components/taskSelection/actionSidebars.js b/frontend/src/components/taskSelection/actionSidebars.js index cdfd3e2b86..33351e5691 100644 --- a/frontend/src/components/taskSelection/actionSidebars.js +++ b/frontend/src/components/taskSelection/actionSidebars.js @@ -586,19 +586,12 @@ const TaskValidationSelector = ({ // the contributors is filled only on the case of single task validation, // so we need to fetch the task history in the case of multiple task validation useEffect(() => { - if (showCommentInput && isValidatingMultipleTasks && !contributors.length) { + if (showCommentInput && isValidatingMultipleTasks) { fetchLocalJSONAPI(`projects/${projectId}/tasks/${id}/`).then((response) => setContributorsList(getTaskContributors(response.taskHistory, userDetails.username)), ); } - }, [ - isValidatingMultipleTasks, - showCommentInput, - contributors, - id, - projectId, - userDetails.username, - ]); + }, [isValidatingMultipleTasks, showCommentInput, id, projectId, userDetails.username]); return (