From dfe346ca7d6f8d0b290a02882d2be365b9ec579d Mon Sep 17 00:00:00 2001 From: Adam Paquette Date: Tue, 26 Nov 2024 13:57:30 -0700 Subject: [PATCH] Update src/containers/Editor/components/views/GraphView/lib/utils/traverse.ts Co-authored-by: Ted Thibodeau Jr --- .../Editor/components/views/GraphView/lib/utils/traverse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Editor/components/views/GraphView/lib/utils/traverse.ts b/src/containers/Editor/components/views/GraphView/lib/utils/traverse.ts index 59b3e355696..4bce4d5dc5f 100644 --- a/src/containers/Editor/components/views/GraphView/lib/utils/traverse.ts +++ b/src/containers/Editor/components/views/GraphView/lib/utils/traverse.ts @@ -72,7 +72,7 @@ export const traverse = ({ objectToTraverse, states, myParentId }: Traverse) => const child = children[i]; if (child.children) { // If the child of our child is not an array or object, it is a property; - // record it into the nodeText. + // record it in the nodeText. // Otherwise, push it onto the nodes to be traversed. if (child.children[1].type !== "object" && child.children[1].type !== "array") { nodeText.push([child.children[0].value, child.children[1].value]);