From 4b7faea55265995a0b4765b9d43fa0411f50e599 Mon Sep 17 00:00:00 2001 From: Kia Lam Date: Wed, 6 Oct 2021 13:18:47 -0700 Subject: [PATCH] Remove comments and linter-disable. --- awx/ui/src/components/JobList/JobList.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);