mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove errant comment
This commit is contained in:
parent
16dacb5f43
commit
52fbd1b222
@ -35,7 +35,6 @@ export const buildNodesGraph = (nodesState: NodesState): Graph => {
|
||||
const { nodes, edges } = nodesState;
|
||||
|
||||
const filteredNodes = nodes.filter(isInvocationNode);
|
||||
// const workflowJSON = JSON.stringify(buildWorkflow(nodesState));
|
||||
|
||||
// Reduce the node editor nodes into invocation graph nodes
|
||||
const parsedNodes = filteredNodes.reduce<NonNullable<Graph['nodes']>>(
|
||||
@ -68,7 +67,6 @@ export const buildNodesGraph = (nodesState: NodesState): Graph => {
|
||||
|
||||
if (embedWorkflow) {
|
||||
// add the workflow to the node
|
||||
// Object.assign(graphNode, { workflow: workflowJSON });
|
||||
Object.assign(graphNode, { workflow: buildWorkflow(nodesState) });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user