Skip to content

Commit f0e465e

Browse files
committed
removes <IndexRoute> - Not needed in this lesson
Fixes reactjs#6 Removes <IndexRoute component={Home}/> which produces error (IndexRoute is not defined). This line is not needed until lesson#8
1 parent 4bd1969 commit f0e465e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lessons/06-params/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ import Repo from './modules/Repo'
4949
render((
5050
<Router>
5151
<Route path="/" component={App}>
52-
<IndexRoute component={Home}/>
5352
<Route path="/repos" component={Repos}/>
5453
{/* add the new route */}
5554
<Route path="/repos/:userName/:repoName" component={Repo}/>

0 commit comments

Comments
 (0)