瀏覽代碼

Merge pull request #122 from ioctaptceb/ch-6-remove-index-route

Remove IndexRoute from ch 06
Tim Dorr 9 年之前
父節點
當前提交
6900ab2564
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lessons/06-params/README.md

+ 0 - 1
lessons/06-params/README.md

@@ -49,7 +49,6 @@ import Repo from './modules/Repo'
 render((
 render((
   <Router>
   <Router>
     <Route path="/" component={App}>
     <Route path="/" component={App}>
-      <IndexRoute component={Home}/>
       <Route path="/repos" component={Repos}/>
       <Route path="/repos" component={Repos}/>
       {/* add the new route */}
       {/* add the new route */}
       <Route path="/repos/:userName/:repoName" component={Repo}/>
       <Route path="/repos/:userName/:repoName" component={Repo}/>