read collapsedRhs from props when mounting main split

pull/21833/head
Bruno Windels 2018-12-17 15:56:17 +01:00
parent a734fb9d35
commit f744374d1d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export default class MainSplit extends React.Component {
}
componentDidMount() {
if (this.props.panel && !this.collapsedRhs) {
if (this.props.panel && !this.props.collapsedRhs) {
this._createResizer();
}
}