Fix linting errors

This commit is contained in:
mabashian
2021-05-26 12:59:09 -04:00
committed by Alan Rominger
parent f0e7f2dbcd
commit ddf4fbc4ce

View File

@@ -359,7 +359,7 @@ function JobOutput({ job, eventRelatedSearchableKeys, eventSearchableKeys }) {
if (listRef.current?.recomputeRowHeights) { if (listRef.current?.recomputeRowHeights) {
listRef.current.recomputeRowHeights(); listRef.current.recomputeRowHeights();
} }
}, [currentlyLoading.current, cssMap, remoteRowCount]); }, [cssMap, remoteRowCount]);
useEffect(() => { useEffect(() => {
if (jobStatus && !isJobRunning(jobStatus)) { if (jobStatus && !isJobRunning(jobStatus)) {
@@ -375,7 +375,7 @@ function JobOutput({ job, eventRelatedSearchableKeys, eventSearchableKeys }) {
setTimeout(() => setIsFollowModeEnabled(false), 1000); setTimeout(() => setIsFollowModeEnabled(false), 1000);
} }
} }
}, [jobStatus]); }, [jobStatus]); // eslint-disable-line react-hooks/exhaustive-deps
const { const {
error: cancelError, error: cancelError,