// inferno module
import React from 'react';
import ReactDOM from "react-dom";
import { Router, Route, browserHistory } from 'react-router';

// scss module
import './scss/main.scss';

// state modules
import { Provider } from 'react-redux';
import store from './shared/store';

// app component
import App from './App.jsx';
import Workspace from './Workspace.jsx';
import WorkspaceController from './components/workspaces/WorkspacesController.jsx';

const routes = (
    <Provider store={ store }>
        <Router history={ browserHistory }>
            <Route component={ App }>
                <Route path="/" component={ WorkspaceController } />
            </Route>
        </Router>
    </Provider>
);

ReactDOM.render(routes, document.getElementById('app-root'));


// inferno module
import React from 'react';
import ReactDOM from "react-dom";
import { Router, Route, browserHistory } from 'react-router';

// scss module
import './scss/main.scss';

// state modules
import { Provider } from 'react-redux';
import store from './shared/store';

// app component
import App from './App.jsx';
import WorkspaceController from './components/sidebar/WorkspacesController.jsx';

const routes = (
    <Provider store={ store }>
        <Router history={ browserHistory }>
            <Route component={ App }>
                <Route path="/" component={ WorkspaceController } />
            </Route>
        </Router>
    </Provider>
);

ReactDOM.render(routes, document.getElementById('app-root'));


Fix route from app.jsx to workspace controller component
Fix route from app.jsx to workspace controller component
