♻️ use connected <Console /> on IDEView
This commit is contained in:
parent
0c0fceee1a
commit
b55bec18d4
1 changed files with 1 additions and 12 deletions
|
@ -324,16 +324,7 @@ class IDEView extends React.Component {
|
||||||
runtimeErrorWarningVisible={this.props.ide.runtimeErrorWarningVisible}
|
runtimeErrorWarningVisible={this.props.ide.runtimeErrorWarningVisible}
|
||||||
provideController={(ctl) => { this.cmController = ctl; }}
|
provideController={(ctl) => { this.cmController = ctl; }}
|
||||||
/>
|
/>
|
||||||
<Console
|
<Console />
|
||||||
fontSize={this.props.preferences.fontSize}
|
|
||||||
consoleEvents={this.props.console}
|
|
||||||
isExpanded={this.props.ide.consoleIsExpanded}
|
|
||||||
expandConsole={this.props.expandConsole}
|
|
||||||
collapseConsole={this.props.collapseConsole}
|
|
||||||
clearConsole={this.props.clearConsole}
|
|
||||||
dispatchConsoleEvent={this.props.dispatchConsoleEvent}
|
|
||||||
theme={this.props.preferences.theme}
|
|
||||||
/>
|
|
||||||
</SplitPane>
|
</SplitPane>
|
||||||
<section className="preview-frame-holder">
|
<section className="preview-frame-holder">
|
||||||
<header className="preview-frame__header">
|
<header className="preview-frame__header">
|
||||||
|
@ -649,6 +640,4 @@ function mapDispatchToProps(dispatch) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export default withTranslation('WebEditor')(withRouter(connect(mapStateToProps, mapDispatchToProps)(IDEView)));
|
export default withTranslation('WebEditor')(withRouter(connect(mapStateToProps, mapDispatchToProps)(IDEView)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue