chore(store): cleanup

This commit is contained in:
moklick
2023-12-13 17:05:13 +01:00
parent 99a422f9f1
commit 46d42e7642
4 changed files with 14 additions and 10 deletions
+4 -1
View File
@@ -25,7 +25,10 @@ const getInitialState = ({
} = {}): ReactFlowStore => {
const nodeLookup = new Map();
const connectionLookup = updateConnectionLookup(new Map(), edges);
const nextNodes = adoptUserProvidedNodes(nodes, nodeLookup, { nodeOrigin: [0, 0], elevateNodesOnSelect: false });
const nextNodes = adoptUserProvidedNodes(nodes, nodeLookup, {
nodeOrigin: [0, 0],
elevateNodesOnSelect: false,
});
let transform: Transform = [0, 0, 1];