fix(handle-on-connect): use correct HandleConnection type #5447
This commit is contained in:
@@ -209,6 +209,7 @@ function onPointerDown(
|
||||
function onPointerUp(event: MouseEvent | TouchEvent) {
|
||||
if (connectionStarted) {
|
||||
if ((closestHandle || resultHandleDomNode) && connection && isValid) {
|
||||
console.log(connection);
|
||||
onConnect?.(connection);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user