fix: delete worker pool
This commit is contained in:
@@ -95,7 +95,8 @@ const WorkerPoolsForm = forwardRef((props: WorkerPoolsFormProps, ref) => {
|
|||||||
newList.delete(id);
|
newList.delete(id);
|
||||||
return newList;
|
return newList;
|
||||||
});
|
});
|
||||||
formRefs.current[id] = null;
|
const { [id]: _, ...rest } = formRefs.current;
|
||||||
|
formRefs.current = rest;
|
||||||
};
|
};
|
||||||
|
|
||||||
const gatherFormValues = (results: PromiseSettledResult<any>[]) => {
|
const gatherFormValues = (results: PromiseSettledResult<any>[]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user