瀏覽代碼

Add #18 manually.

Tim Dorr 9 年之前
父節點
當前提交
89bd732427
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 */}