Migrating editor into cleaner code

This commit is contained in:
Jori Lallo
2016-05-10 00:07:50 -06:00
parent 3d4554caa3
commit 0fdaff820e
29 changed files with 545 additions and 543 deletions

View File

@@ -20,7 +20,7 @@ import 'utils/base-styles.scss';
import 'fonts/atlas/atlas.css';
import Home from 'scenes/Home';
// import App from 'scenes/App';
import Editor from 'scenes/Editor';
import Dashboard from 'scenes/Dashboard';
import Atlas from 'scenes/Atlas';
import SlackAuth from 'scenes/SlackAuth';
@@ -50,6 +50,7 @@ persistStore(store, {
<Route path="/dashboard" component={ Dashboard } onEnter={ requireAuth } />
<Route path="/atlas/:id" component={ Atlas } onEnter={ requireAuth } />
<Route path="/atlas/:id/new" component={ Editor } onEnter={ requireAuth } />
<Route path="/editor" component={Dashboard} onEnter={ requireAuth } />