import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import { BrowserRouter, Route } from 'react-router-dom';

import reducers from './reducers';

const createStoreWithMiddleware = applyMiddleware()(createStore);

ReactDOM.render(
  <Provider store={createStoreWithMiddleware(reducers)}>
    <BrowserRouter>
      <div>
      </div>
    </BrowserRouter>
  </Provider>
  , document.querySelector('.container'));

@@ -240,16 +240,67 @@
 ducers';
+%0Aimport PostsIndex from './components/posts_index';
 %0A%0Aconst 
@@ -462,24 +462,79 @@
       %3Cdiv%3E%0A
+        %3CRoute exact path='/' component=%7BPostsIndex%7D/%3E%0A
       %3C/div%3E

Add posts index route