mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Remove comments and linter-disable.
This commit is contained in:
parent
0f044f6c21
commit
4b7faea552
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user