Skip to content

Commit 41ca3cc

Browse files
committed
fix(runtime): traverse node not updated
1 parent ce850db commit 41ca3cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/runtime/src/local-helpers/simple-traverse.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ export function simpleTraverse<T>(root: T, cb: Cb) {
2424
const parent = parents[parents.length - 1];
2525
const key = path[path.length - 1];
2626
parent[key] = nextValue;
27-
node = nextValue;
2827
}
2928

29+
node = nextValue;
30+
3031
keepGoing = false;
3132
}
3233

0 commit comments

Comments
 (0)