add error

This commit is contained in:
Charlie Kolb 2024-11-19 10:04:13 +01:00
parent afc61322d1
commit eb0e80b69f
No known key found for this signature in database

View file

@ -649,6 +649,7 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
}
function createConnectionToLastInteractedWithNode(node: INodeUi, options: AddNodeOptions = {}) {
console.log('createConnectionToLastInteractedWithNode called');
const lastInteractedWithNode = uiStore.lastInteractedWithNode;
if (!lastInteractedWithNode) {
return;
@ -731,6 +732,7 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
targetIsNew: targetNode.id === node.id,
});
}
throw new Error('Is this thing on?');
}
function trackAddNode(nodeData: INodeUi, options: AddNodeOptions) {