Browse Source

Lesson 09 Final

Ryan Florence 9 years ago
parent
commit
49e3ef9d32
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/App.js

+ 1 - 0
modules/App.js

@@ -7,6 +7,7 @@ export default React.createClass({
       <div>
         <h1>React Router Tutorial</h1>
         <ul role="nav">
+          <li><NavLink to="/" onlyActiveOnIndex>Home</NavLink></li>
           <li><NavLink to="/about">About</NavLink></li>
           <li><NavLink to="/repos">Repos</NavLink></li>
         </ul>