diff --git a/app/App.js b/app/App.js
index 486555d..bff87d2 100644
--- a/app/App.js
+++ b/app/App.js
@@ -2,7 +2,6 @@ require('normalize.css/normalize.css');
require('./styles/main.scss');
const React = require('react');
-const authUtils = require('./utils/authUtils');
// top level components for layouts
let Navigation = require('./components/Navigation');
@@ -11,41 +10,13 @@ let ListContainer = require('./components/list/ListContainer');
let Login = require('./components/login/Login');
let Account = require('./components/Account');
-let homeRoute = (
-
-
-
-
-);
-
-let listRoute = (
-
-
-
-
-);
-
-let loginRoute = (
-
-
-
-
-);
-
-let accountRoute = (
-
-);
-
class App extends React.Component {
render() {
let ui = null;
- switch(this.props.route) { // current hash is given to you
+ switch(this.props.route) {
case "home":
ui = homeRoute;
@@ -72,4 +43,32 @@ class App extends React.Component {
}
}
+let homeRoute = (
+
+
+
+
+);
+
+let listRoute = (
+
+
+
+
+);
+
+let loginRoute = (
+
+
+
+
+);
+
+let accountRoute = (
+
+);
+
module.exports = App;
diff --git a/app/components/Home.js b/app/components/Home.js
index 29752c8..925b661 100644
--- a/app/components/Home.js
+++ b/app/components/Home.js
@@ -3,7 +3,7 @@
*/
const React = require('react');
-class Welcome extends React.Component {
+class Home extends React.Component {
constructor() {
super();
@@ -54,4 +54,4 @@ class Welcome extends React.Component {
}
-module.exports = Welcome;
\ No newline at end of file
+module.exports = Home;
\ No newline at end of file