Browse Source

refactor: 注释 react-hooks/exhaustive-deps

pull/181/head
cp3hnu 10 months ago
parent
commit
91cadb5c7c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      react-ui/src/pages/AutoML/Instance/index.tsx
  2. +1
    -1
      react-ui/src/pages/HyperParameter/Instance/index.tsx

+ 1
- 1
react-ui/src/pages/AutoML/Instance/index.tsx View File

@@ -40,7 +40,7 @@ function AutoMLInstance() {
closeSSE(); closeSSE();
}; };
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
}, [instanceId]);


// 获取实验实例详情 // 获取实验实例详情
const getExperimentInsInfo = async (isStatusDetermined: boolean) => { const getExperimentInsInfo = async (isStatusDetermined: boolean) => {


+ 1
- 1
react-ui/src/pages/HyperParameter/Instance/index.tsx View File

@@ -44,7 +44,7 @@ function HyperParameterInstance() {
closeSSE(); closeSSE();
}; };
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
}, [instanceId]);


// 获取实验实例详情 // 获取实验实例详情
const getExperimentInsInfo = async (isStatusDetermined: boolean) => { const getExperimentInsInfo = async (isStatusDetermined: boolean) => {


Loading…
Cancel
Save