Skip to content

Commit 633841b

Browse files
committed
chore: remove node transformation in provider setup
1 parent b4036c6 commit 633841b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/x-flow/src/models/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const createStore = (initProps?: Partial<FlowProps>) => {
136136
source: nodeId,
137137
target: get().copyNodes[0].id,
138138
};
139-
get().addNodes(get().copyNodes);
139+
get().addNodes(get().copyNodes, false);
140140
get().addEdges(newEdges);
141141
set({
142142
copyNodes: [],

0 commit comments

Comments
 (0)