Skip to content

Commit 7b7bf07

Browse files
committed
fix README example
1 parent fad618b commit 7b7bf07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ This library only ships with common js modules, so you'll need browserify or
3131
webpack or something that can load/bundle it.
3232

3333
```
34-
var Router = require('react-router');
34+
var ReactRouter = require('react-router');
35+
var Router = ReactRouter.Router;
3536
var Route = Router.Route;
3637
var Link = Router.Link;
3738

0 commit comments

Comments
 (0)