diff --git a/frontend/src/components/ModelManage/TrainingTab.tsx b/frontend/src/components/ModelManage/TrainingTab.tsx index 0eda172..1c969bc 100644 --- a/frontend/src/components/ModelManage/TrainingTab.tsx +++ b/frontend/src/components/ModelManage/TrainingTab.tsx @@ -7,7 +7,7 @@ import { ModelTrainRequest } from '@/types'; interface TrainingTabProps { projectId: number | null; } - +//Todo : 로직 수정, isTrain을 서버 단에서 받고, 셀렉트 됐을 때 개별 조회로 isTrain을 판단해서, 학습 중이면 리패치하는 방식으로 관리한다. export default function TrainingTab({ projectId }: TrainingTabProps) { const numericProjectId = projectId ? parseInt(projectId.toString(), 10) : null; const { isTrainingByProject, setIsTraining, selectedModelByProject, setSelectedModel, resetTrainingData } =