fix: adjust gpus_per_replicas ux

This commit is contained in:
jialin
2025-10-28 17:21:22 +08:00
parent a86bed294e
commit 646d235c65
11 changed files with 80 additions and 85 deletions
+3 -3
View File
@@ -375,7 +375,7 @@ export const useCheckCompatibility = () => {
return null;
};
const clearCahceFormValues = () => {
const clearCacheFormValues = () => {
cacheFormValuesRef.current = {};
};
@@ -437,7 +437,7 @@ export const useCheckCompatibility = () => {
useEffect(() => {
return () => {
cancelEvaluate();
clearCahceFormValues();
clearCacheFormValues();
};
}, []);
@@ -452,7 +452,7 @@ export const useCheckCompatibility = () => {
handleBackendChangeBefore,
handleOnValuesChange: handleOnValuesChange,
handleEvaluateOnChange: handleOnValuesChange,
clearCahceFormValues,
clearCacheFormValues,
warningStatus,
checkTokenRef,
submitAnyway