Skip to content

Commit 7f49dca

Browse files
committed
removed unused console
1 parent e360a04 commit 7f49dca

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

src/components/app.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React, { Component } from 'react';
22
import SplitPane from 'react-split-pane';
33
import Editor from './editor';
44
import Viewer from './viewer';
5-
import ErrorConsole from './error_console';
65

76
export default class App extends Component {
87
render() {
@@ -11,10 +10,7 @@ export default class App extends Component {
1110
return (
1211
<SplitPane split="vertical" defaultSize={width}>
1312
<Editor />
14-
<div>
15-
<Viewer />
16-
{/*<ErrorConsole />*/}
17-
</div>
13+
<Viewer />
1814
</SplitPane>
1915
);
2016
}

src/components/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _ from 'lodash';
22
import React, { Component } from 'react';
33
import CodeMirror from 'react-codemirror';
4-
import 'codemirror/mode/javascript/javascript';
4+
import 'codemirror/mode/jsx/jsx';
55
import * as actions from 'actions';
66
import { connect } from 'react-redux';
77

src/components/error_console.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)