Skip to content

Commit 4952c06

Browse files
committed
perf(proxy-state-tree): minor improvement
1 parent 0c25108 commit 4952c06

File tree

1 file changed

+1
-2
lines changed
  • packages/node_modules/proxy-state-tree/src

1 file changed

+1
-2
lines changed

packages/node_modules/proxy-state-tree/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ class ProxyStateTree {
107107
'Nested path tracking requires you to stop the nested path tracker before the outer'
108108
)
109109
}
110-
const pathSet = this.paths[index]
111-
this.paths.pop()
110+
const pathSet = this.paths.pop()
112111

113112
if (!this.paths.length) {
114113
this.status = STATUS.IDLE

0 commit comments

Comments
 (0)