Skip to content

Commit c9dea36

Browse files
committed
Pass instance of HashHistory to Router
1 parent d11e141 commit c9dea36

File tree

1 file changed

+1
-1
lines changed
  • examples/passing-props-to-children

1 file changed

+1
-1
lines changed

examples/passing-props-to-children/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var Taco = React.createClass({
7272
});
7373

7474
React.render((
75-
<Router history={HashHistory}>
75+
<Router history={new HashHistory}>
7676
<Route path="/" component={App}>
7777
<Route path="taco/:name" component={Taco}/>
7878
</Route>

0 commit comments

Comments
 (0)