fix(ui): remove errant comment

This commit is contained in:
psychedelicious 2023-10-18 22:18:06 +11:00
parent 16dacb5f43
commit 52fbd1b222

View File

@ -35,7 +35,6 @@ export const buildNodesGraph = (nodesState: NodesState): Graph => {
const { nodes, edges } = nodesState; const { nodes, edges } = nodesState;
const filteredNodes = nodes.filter(isInvocationNode); const filteredNodes = nodes.filter(isInvocationNode);
// const workflowJSON = JSON.stringify(buildWorkflow(nodesState));
// Reduce the node editor nodes into invocation graph nodes // Reduce the node editor nodes into invocation graph nodes
const parsedNodes = filteredNodes.reduce<NonNullable<Graph['nodes']>>( const parsedNodes = filteredNodes.reduce<NonNullable<Graph['nodes']>>(
@ -68,7 +67,6 @@ export const buildNodesGraph = (nodesState: NodesState): Graph => {
if (embedWorkflow) { if (embedWorkflow) {
// add the workflow to the node // add the workflow to the node
// Object.assign(graphNode, { workflow: workflowJSON });
Object.assign(graphNode, { workflow: buildWorkflow(nodesState) }); Object.assign(graphNode, { workflow: buildWorkflow(nodesState) });
} }