Skip to content

Commit 8ffa270

Browse files
committed
refactor: remove unnecessary treeWalker setting in the constructor
1 parent 601e388 commit 8ffa270

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Tree.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ class Tree<
296296
component: props.children,
297297
recomputeTree: this.recomputeTree.bind(this),
298298
records: {},
299-
treeWalker: props.treeWalker,
300299
} as TState;
301300
}
302301

0 commit comments

Comments
 (0)