feat: node store interface

This commit is contained in:
2024-04-20 02:41:18 +02:00
parent 1d203c687c
commit 78c88e4d66
51 changed files with 772 additions and 552 deletions

View File

@@ -14,10 +14,10 @@
function handleMouseDown(event: MouseEvent) {
event.stopPropagation();
event.preventDefault();
setDownSocket({
setDownSocket?.({
node,
index: 0,
position: getSocketPosition(node, 0),
position: getSocketPosition?.(node, 0),
});
}