diff --git a/awx/ui/src/components/JobList/JobList.js b/awx/ui/src/components/JobList/JobList.js index b06437700c..9445e58c52 100644 --- a/awx/ui/src/components/JobList/JobList.js +++ b/awx/ui/src/components/JobList/JobList.js @@ -98,7 +98,6 @@ function JobList({ defaultParams, showTypeColumn = false }) { fetchJobs(); }, [fetchJobs]); - // TODO: update QS_CONFIG to be safe for deps array const fetchJobsById = useCallback( async (ids, qs = {}) => { const params = parseQueryString(qs, location.search); @@ -106,7 +105,7 @@ function JobList({ defaultParams, showTypeColumn = false }) { const { data } = await UnifiedJobsAPI.read(params); return data.results; }, - [location.search] // eslint-disable-line react-hooks/exhaustive-deps + [location.search] ); const jobs = useWsJobs(results, fetchJobsById, qsConfig);