refactor(core): rename useNodeConnections params (#1743)

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2025-01-09 17:31:33 +01:00
parent 44b9232b19
commit f78c348947
7 changed files with 19 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
import { Handle, Position, useNodeConnections, useNodesData } from '@vue-flow/core'
const connections = useNodeConnections({
type: 'target',
handleType: 'target',
})
const nodesData = useNodesData(() => connections.value[0]?.source)