insert node

This commit is contained in:
StyleZhang
2024-03-17 20:19:58 +08:00
parent 843db3dbdf
commit 722ff7795d
7 changed files with 50 additions and 13 deletions

View File

@ -19,8 +19,8 @@ function useVarList({
const newInputs = produce(inputs, (draft) => {
draft.variables = newList
})
handleVariableAssignerEdgesChange(id, newList)
setInputs(newInputs)
handleVariableAssignerEdgesChange(id, newList)
}, [inputs, setInputs, id, handleVariableAssignerEdgesChange])
const handleAddVariable = useCallback(() => {