Skip to content

Commit 9426e4f

Browse files
committed
Merge pull request #2377 from dnshi/update-docs
Update docs
2 parents 695bb67 + 3071d73 commit 9426e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/advanced/NavigatingOutsideOfComponents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ And then import it to render a `<Router>`:
2020
```js
2121
// index.js
2222
import history from './history'
23-
React.render(<Router history={history}/>, el)
23+
render(<Router history={history}/>, el)
2424
```
2525

2626
And now you can use that history object anywhere in your app, maybe in a

0 commit comments

Comments
 (0)