fix: delete worker pool
This commit is contained in:
@@ -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>[]) => {
|
||||
|
||||
Reference in New Issue
Block a user