From ceebd3e11ae4279ee1c64dedc24a0a89d7ff978b Mon Sep 17 00:00:00 2001 From: YISH Date: Wed, 28 Feb 2024 18:19:56 +0800 Subject: [PATCH] Update index.ts --- packages/server/src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/utils/index.ts b/packages/server/src/utils/index.ts index afd8e4033..1af3ef3ff 100644 --- a/packages/server/src/utils/index.ts +++ b/packages/server/src/utils/index.ts @@ -298,7 +298,7 @@ export const buildFlow = async ( nodeQueue.push({ nodeId: startingNodeIds[i], depth: 0 }) exploredNode[startingNodeIds[i]] = { remainingLoop: maxLoop, lastSeenDepth: 0 } } - + const initializedNode: Set = new Set() const nonDirectedGraph = constructGraphs(reactFlowNodes, reactFlowEdges, { isReversed: true }).graph while (nodeQueue.length) {