code-review-fix task 12.11: remove eslint-disable in TrainingPanel and fix dependency array
This commit is contained in:
parent
13f4860358
commit
843c867034
1 changed files with 1 additions and 2 deletions
|
|
@ -125,8 +125,7 @@ export default function TrainingPanel() {
|
||||||
setActiveRunId(null);
|
setActiveRunId(null);
|
||||||
}
|
}
|
||||||
}).finally(() => setIsLoadingRuns(false));
|
}).finally(() => setIsLoadingRuns(false));
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
}, [expanded, fetchDatasetInfo, fetchRuns, fetchActiveRun]);
|
||||||
}, [expanded]);
|
|
||||||
|
|
||||||
// Poll while training is active
|
// Poll while training is active
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue