Merge branch 'zustand/io/migration' of https://github.com/logspace-ai/langflow into zustand/io/migration
This commit is contained in:
commit
b05ac9e84d
1 changed files with 1 additions and 1 deletions
|
|
@ -306,6 +306,7 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
|||
.nodes.find(
|
||||
(node) => node.id === connection.source || node.id === connection.target
|
||||
);
|
||||
|
||||
const sourceType = findNode?.data?.type;
|
||||
let isIoIn = false;
|
||||
let isIoOut = false;
|
||||
|
|
@ -333,7 +334,6 @@ const useFlowStore = create<FlowStoreType>((set, get) => ({
|
|||
(scapeJSONParse(connection.targetHandle!) as targetHandleType)
|
||||
.type === "Text",
|
||||
markerEnd: isIoIn || isIoOut ? { ...commonMarkerProps } : undefined,
|
||||
markerStart: isIoIn || isIoOut ? { ...commonMarkerProps } : undefined,
|
||||
},
|
||||
oldEdges
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue