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 06c15c5 commit 692974dCopy full SHA for 692974d
docs/guides/overview.md
@@ -371,7 +371,7 @@ var App = React.createClass({
371
getHandlerKey: function () {
372
var childDepth = 1; // assuming App is top-level route
373
var { router } = this.context;
374
- var key = router.getRoutes()[childDepth].name;
+ var key = router.getCurrentRoutes()[childDepth].name;
375
var id = router.getParams().id;
376
if (id) { key += id; }
377
return key;
0 commit comments