Skip to content

Commit 3330b2a

Browse files
committed
[changed] Update overview.md
One more add. Realized two things were out of date in the overview.
1 parent 692974d commit 3330b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ var App = React.createClass({
372372
var childDepth = 1; // assuming App is top-level route
373373
var { router } = this.context;
374374
var key = router.getCurrentRoutes()[childDepth].name;
375-
var id = router.getParams().id;
375+
var id = router.getCurrentParams().id;
376376
if (id) { key += id; }
377377
return key;
378378
},

0 commit comments

Comments
 (0)