Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io
This commit is contained in:
commit
ba61b0e9e0
2 changed files with 2 additions and 2 deletions
|
|
@ -598,7 +598,7 @@ export function isValidConnection(
|
|||
) ||
|
||||
targetHandle.split("|")[0] === "str"
|
||||
) {
|
||||
let targetNode = reactFlowInstance.getNode(target).data.node;
|
||||
let targetNode = reactFlowInstance?.getNode(target)?.data?.node;
|
||||
if (!targetNode) {
|
||||
if (
|
||||
!reactFlowInstance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue