chore: cleanup

This commit is contained in:
braks
2022-10-07 21:56:15 +02:00
committed by Braks
parent e429fdf6c2
commit f1abfc6ac0

View File

@@ -183,7 +183,6 @@ export default () => {
const isOwnHandle = connection.source === connection.target
console.log(isValid)
if (isValid && !isOwnHandle) {
if (!onEdgeUpdate) emits.connect(connection)
else onEdgeUpdate(connection)