We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d63ac commit 62c8514Copy full SHA for 62c8514
modules/Router.js
@@ -93,7 +93,7 @@ export var Router = React.createClass({
93
onError: func.isRequired,
94
onUpdate: func,
95
96
- // For server-side rendering...
+ // For server-side rendering
97
location: any,
98
branch: routes,
99
params: object,
@@ -133,7 +133,7 @@ export var Router = React.createClass({
133
if (error || this.nextLocation !== location) {
134
this._finishTransition(error);
135
} else if (state == null) {
136
- warning(false, 'Location "%s" did not match any routes', location.path);
+ warning(false, 'Location "%s" did not match any routes', location.pathname);
137
this._finishTransition();
138
} else {
139
state.location = location;
0 commit comments