File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ var Routes = React.createClass({
322
322
323
323
warning (
324
324
nextMatches . length ,
325
- 'No route matches path "%s". Make sure you have <Route path="%s"> somewhere in your routes ' ,
325
+ 'No route matches path "%s". Make sure you have <Route path="%s"> somewhere in your <Routes> ' ,
326
326
path , path
327
327
) ;
328
328
@@ -438,8 +438,8 @@ var Routes = React.createClass({
438
438
439
439
invariant (
440
440
route ,
441
- 'Unable to find a route named "' + to + ' ". Make sure you have ' +
442
- 'a <Route name="' + to + '"> defined somewhere in your <Routes>'
441
+ 'Unable to find a route named "%s ". Make sure you have <Route name="%s"> somewhere in your <Routes>' ,
442
+ to , to
443
443
) ;
444
444
445
445
path = route . props . path ;
You can’t perform that action at this time.
0 commit comments