code-review-fix task 12.11: remove eslint-disable in TrainingPanel and fix dependency array

This commit is contained in:
Marko Djordjevic 2026-02-18 20:43:57 +01:00
parent 13f4860358
commit 843c867034

View file

@ -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(() => {