import React from 'react'
import {Provider} from 'react-redux'
import {Router} from 'react-router'
import Top from './Top'
import Header from './Header'
import MyPage from './MyPage.js'
import './style'


const Root = ({children}) =>
  <div>
    {children}
  </div>

const routes = [
  {
    path: '/',
    component: Root,
    indexRoute: {
      component: Top
    },
    childRoutes: [
      {
        path: '/mypage',
        component: MyPage
      }
	]
  }
]

const App = ({store, history}) =>
  <Provider store={store}>
    <Router history={history} routes={routes} />
  </Provider>

export default App

@@ -179,16 +179,75 @@
 age.js'%0A
+import FavoriteAnimeConfig from './FavoriteAnimeConfig.js'%0A
 import '
@@ -511,10 +511,102 @@
    %7D
-%0A%09
+, %7B%0A        path: 'favorite-anime-config',%0A        component: FavoriteAnimeConfig%0A      %7D%0A    
 %5D%0A  

Add route