Skip to content

Commit 1b4333e

Browse files
committed
fix typo in docs about dymanic segments params
1 parent 2e1e1cf commit 1b4333e

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
@@ -283,7 +283,7 @@ var Message = React.createClass({
283283
});
284284
```
285285

286-
Assuming the user navigates to `/inbox/123`, `this.props.messageId` is
286+
Assuming the user navigates to `/inbox/123`, `this.props.params.messageId` is
287287
going to be `'123'`. Check out the [AsyncState][AsyncState] mixin to see
288288
how you can turn this parameter into state on your component. Or for a
289289
more basic approach, make an ajax call in `componentDidMount` with the

0 commit comments

Comments
 (0)