refactor(core): replace arr reduce methods (#1467)
* refactor(core): replace arr reduce methods * chore(core): cleanup
This commit is contained in:
@@ -8,9 +8,7 @@ export function useState(): State {
|
||||
return {
|
||||
vueFlowRef: null,
|
||||
viewportRef: null,
|
||||
// todo: change this to a Set
|
||||
nodes: [],
|
||||
// todo: change this to a Set
|
||||
edges: [],
|
||||
connectionLookup: new Map(),
|
||||
nodeTypes: {},
|
||||
|
||||
Reference in New Issue
Block a user