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);
|
||||
}
|
||||
}).finally(() => setIsLoadingRuns(false));
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [expanded]);
|
||||
}, [expanded, fetchDatasetInfo, fetchRuns, fetchActiveRun]);
|
||||
|
||||
// Poll while training is active
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue