diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 54b38d464a..a3b40d3b72 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -101,13 +101,6 @@ class IDEView extends React.Component { if (nextProps.location !== this.props.location) { this.props.setPreviousPath(this.props.location.pathname); } - - if (this.props.ide.consoleIsExpanded !== nextProps.ide.consoleIsExpanded) { - this.setState({ - consoleSize: nextProps.ide.consoleIsExpanded ? 150 : 29 - }); - } - if (this.props.ide.sidebarIsExpanded !== nextProps.ide.sidebarIsExpanded) { this.setState({ sidebarSize: nextProps.ide.sidebarIsExpanded ? 160 : 20 @@ -337,7 +330,9 @@ class IDEView extends React.Component { this.setState({ consoleSize: size })} allowResize={this.props.ide.consoleIsExpanded}