Skip to content

Commit b55bec1

Browse files
committed
♻️ use connected <Console /> on IDEView
1 parent 0c0fcee commit b55bec1

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

client/modules/IDE/pages/IDEView.jsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -324,16 +324,7 @@ class IDEView extends React.Component {
324324
runtimeErrorWarningVisible={this.props.ide.runtimeErrorWarningVisible}
325325
provideController={(ctl) => { this.cmController = ctl; }}
326326
/>
327-
<Console
328-
fontSize={this.props.preferences.fontSize}
329-
consoleEvents={this.props.console}
330-
isExpanded={this.props.ide.consoleIsExpanded}
331-
expandConsole={this.props.expandConsole}
332-
collapseConsole={this.props.collapseConsole}
333-
clearConsole={this.props.clearConsole}
334-
dispatchConsoleEvent={this.props.dispatchConsoleEvent}
335-
theme={this.props.preferences.theme}
336-
/>
327+
<Console />
337328
</SplitPane>
338329
<section className="preview-frame-holder">
339330
<header className="preview-frame__header">
@@ -649,6 +640,4 @@ function mapDispatchToProps(dispatch) {
649640
);
650641
}
651642

652-
653643
export default withTranslation('WebEditor')(withRouter(connect(mapStateToProps, mapDispatchToProps)(IDEView)));
654-

0 commit comments

Comments
 (0)