Skip to content

Commit

Permalink
Fix Router examples in introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
taion committed Jan 18, 2016
1 parent d3db6fb commit 42c21f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const routes = {
]
}

render(<Router routes={routes} />, document.body)
render(<Router history={history} routes={routes} />, document.body)
```

## Adding More UI
Expand Down Expand Up @@ -187,7 +187,7 @@ const Inbox = React.createClass({
})

render((
<Router>
<Router history={history}>
<Route path="/" component={App}>
<IndexRoute component={Home} />
<Route path="about" component={About} />
Expand Down

0 comments on commit 42c21f7

Please sign in to comment.