Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io

This commit is contained in:
Lucas Oliveira 2023-07-10 16:44:52 -03:00
commit ba61b0e9e0
2 changed files with 2 additions and 2 deletions

View file

@ -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