fix: delete worker pool

This commit is contained in:
jialin
2025-12-19 15:19:27 +08:00
parent bb793a41fc
commit bd76934e40
@@ -95,7 +95,8 @@ const WorkerPoolsForm = forwardRef((props: WorkerPoolsFormProps, ref) => {
newList.delete(id);
return newList;
});
formRefs.current[id] = null;
const { [id]: _, ...rest } = formRefs.current;
formRefs.current = rest;
};
const gatherFormValues = (results: PromiseSettledResult<any>[]) => {