Skip to content

Commit

Permalink
Update src/containers/Editor/components/views/GraphView/lib/utils/tra…
Browse files Browse the repository at this point in the history
…verse.ts

Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
acpaquette and TallTed authored Nov 26, 2024
1 parent ddcb27d commit dfe346c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit dfe346c

Please sign in to comment.