Skip to content

Commit 63cb4ee

Browse files
committed
Update README example
1 parent b950d73 commit 63cb4ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ If you just want to drop a `<script>` tag in your page and be done with it, you
6060

6161
```js
6262
import { Router, Route } from 'react-router';
63-
import { history } from 'react-router/lib/BrowserHistory';
6463

6564
var App = React.createClass({/*...*/});
6665
var About = React.createClass({/*...*/});
@@ -109,7 +108,7 @@ var User = React.createClass({
109108
// instead, all you really need is a single root route, you don't need to
110109
// colocate the entire config).
111110
React.render((
112-
<Router history={history}>
111+
<Router>
113112
<Route path="/" component={App}>
114113
<Route path="about" component={About}/>
115114
<Route path="users" component={Users}>

0 commit comments

Comments
 (0)