We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf44c90 + 633e5dd commit 54e204dCopy full SHA for 54e204d
src/components/App/index.js
@@ -206,7 +206,7 @@ class App extends BaseComponent {
206
207
handleChangeWorkspaceWeights(workspaceWeights) {
208
this.setState({ workspaceWeights });
209
- this.codeEditorRef.current.getWrappedInstance().handleResize();
+ this.codeEditorRef.current.handleResize();
210
}
211
212
toggleNavigatorOpened(navigatorOpened = !this.state.workspaceVisibles[0]) {
src/components/CodeEditor/index.js
@@ -16,7 +16,7 @@ class CodeEditor extends React.Component {
16
17
18
handleResize() {
19
- this.aceEditorRef.current.getWrappedInstance().resize();
+ this.aceEditorRef.current.resize();
20
21
22
render() {
0 commit comments