fix(edges): updatable edge

This commit is contained in:
moklick
2021-11-26 07:14:38 +01:00
parent 33255635af
commit 62f1e90244
5 changed files with 39 additions and 21 deletions
-1
View File
@@ -153,7 +153,6 @@ const BasicFlow = () => {
};
const onNodesChange = useCallback((changes: NodeChange[]) => {
console.log('node change', changes);
setNodes((ns) => applyNodeChanges(changes, ns));
}, []);