Skip to content

Commit

Permalink
changed error wording (#4334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abazhenov authored and timdorr committed Jan 12, 2017
1 parent 74a6986 commit 389df9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Router.js
Expand Up @@ -77,9 +77,9 @@ const Router = React.createClass({

invariant(
history.getCurrentLocation,
'You have provided a history object created with history v2.x or ' +
'earlier. This version of React Router is only compatible with v3 ' +
'history objects. Please upgrade to history v3.x.'
'You have provided a history object created with history v4.x or v2.x ' +
'and earlier. This version of React Router is only compatible with v3 ' +
'history objects. Please change to history v3.x.'
)

return createTransitionManager(
Expand Down

0 comments on commit 389df9c

Please sign in to comment.