read collapsedRhs from props when mounting main split

This commit is contained in:
Bruno Windels 2018-12-17 15:56:17 +01:00
parent a734fb9d35
commit f744374d1d

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();
}
}