Skip to content

Commit bd0df92

Browse files
committed
fix: propagate the expanded treeData to editor
1 parent d68c3bf commit bd0df92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class App extends Component {
5555
expanded,
5656
});
5757

58-
this._editor.set(treeData);
58+
this._editor.set(newTreeData);
5959

6060
this.setState({
6161
treeData: newTreeData,

0 commit comments

Comments
 (0)