Tim Dorr 9 lat temu
rodzic
commit
89bd732427
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lessons/06-params/README.md

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

@@ -47,7 +47,7 @@ Now open up `index.js` and add the new route.
 import Repo from './modules/Repo'
 
 render((
-  <Router>
+  <Router history={hashHistory}>
     <Route path="/" component={App}>
       <Route path="/repos" component={Repos}/>
       {/* add the new route */}