import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux'
import { Router, Route, browserHistory } from 'react-router'
import { syncHistoryWithStore } from 'react-router-redux'

import HomeContainer from './routes/Home/HomeContainer';
import LoginContainer from './routes/Login/LoginContainer';
import SignUpContainer from './routes/SignUp/SignUpContainer';

import requiresAuth from './shared/components/requiresAuth/requiresAuth'

import configureStore from './store/configureStore'

import './index.css';

const store = configureStore();
const history = syncHistoryWithStore(browserHistory, store)

ReactDOM.render(
  <Provider store={store}>
     <Router history={history}>
      <Route path="/login" component={LoginContainer} />
      <Route path="/signup" component={SignUpContainer} />
      <Route path="/" component={HomeContainer} />
    </Router>
  </Provider>,
  document.getElementById('root')
);
@@ -224,25 +224,16 @@
 ort Home
-Container
  from '.
@@ -273,25 +273,16 @@
 rt Login
-Container
  from '.
@@ -325,25 +325,16 @@
 t SignUp
-Container
  from '.
@@ -729,25 +729,16 @@
 t=%7BLogin
-Container
 %7D /%3E%0A   
@@ -779,25 +779,16 @@
 =%7BSignUp
-Container
 %7D /%3E%0A   
@@ -817,29 +817,34 @@
 ponent=%7B
-HomeContainer
+requiresAuth(Home)
 %7D /%3E%0A   

Add authentication to Home route