fix(handle-on-connect): use correct HandleConnection type #5447

This commit is contained in:
moklick
2025-08-12 14:36:06 +02:00
parent 91e5e302d5
commit 4e588b2c23
6 changed files with 18 additions and 15 deletions
+1
View File
@@ -209,6 +209,7 @@ function onPointerDown(
function onPointerUp(event: MouseEvent | TouchEvent) {
if (connectionStarted) {
if ((closestHandle || resultHandleDomNode) && connection && isValid) {
console.log(connection);
onConnect?.(connection);
}