fix(edges): Handles emitting connect and update simulteanously

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 2910731c3b
commit 983c86c938
2 changed files with 4 additions and 3 deletions
-1
View File
@@ -149,7 +149,6 @@ export default (store: FlowStore = useVueFlow().store) =>
const isOwnHandle = connection.source === connection.target
if (isValid && !isOwnHandle) {
store.hooks.connect.trigger(connection)
onEdgeUpdate?.(connection)
}