diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx
index 1f6cbc75..4c03c581 100644
--- a/client/modules/IDE/pages/IDEView.jsx
+++ b/client/modules/IDE/pages/IDEView.jsx
@@ -3,7 +3,6 @@ import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import { Helmet } from 'react-helmet';
-import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
import SplitPane from 'react-split-pane';
import Editor from '../components/Editor';
import Sidebar from '../components/Sidebar';
@@ -406,131 +405,93 @@ class IDEView extends React.Component {
- {(() => {
- if (this.props.ide.modalIsVisible) {
- return (
-
- );
- }
- return '';
- })()}
- {(() => {
- if (this.props.ide.newFolderModalVisible) {
- return (
-
- );
- }
- return '';
- })()}
- {(() => { // eslint-disable-line
- if (this.props.location.pathname.match(/sketches$/)) {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.location.pathname.match(/assets$/)) {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.location.pathname === '/about') {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.ide.shareModalVisible) {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.ide.keyboardShortcutVisible) {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.ide.errorType) {
- return (
-
-
-
- );
- }
- })()}
- {(() => { // eslint-disable-line
- if (this.props.ide.helpType) {
- return (
-
-
-
- );
- }
- })()}
+ { this.props.ide.modalIsVisible &&
+
+ }
+ { this.props.ide.newFolderModalVisible &&
+
+ }
+ { this.props.location.pathname.match(/sketches$/) &&
+
+
+
+ }
+ { this.props.location.pathname.match(/assets$/) &&
+
+
+
+ }
+ { this.props.location.pathname === '/about' &&
+
+
+
+ }
+ { this.props.ide.shareModalVisible &&
+
+
+
+ }
+ { this.props.ide.keyboardShortcutVisible &&
+
+
+
+ }
+ { this.props.ide.errorType &&
+
+
+
+ }
+ { this.props.ide.helpType &&
+
+
+
+ }
);
}