refactor(actions): combine batch update and update node dimension actions

This commit is contained in:
moklick
2021-02-11 19:14:30 +01:00
parent 9b70e1e0fa
commit 1d1a17c80a
6 changed files with 6 additions and 41 deletions
-2
View File
@@ -65,8 +65,6 @@ const CustomNodeFlow = () => {
const onConnect = (params) =>
setElements((els) => addEdge({ ...params, animated: true, style: { stroke: '#fff' } }, els));
console.log('example', elements);
return (
<ReactFlow
elements={elements}