Skip to content

Commit

Permalink
[skip ci] Tiny document fix: args is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jul 8, 2016
1 parent ac12598 commit 22e6c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ function mapStateToProps() {
```
```javascript
const mapStateToProps = (...args) => {
console.log(arguments[0]); // state
console.log(arguments[1]); // ownProps
console.log(args[0]); // state
console.log(args[1]); // ownProps
}
```

Expand Down

0 comments on commit 22e6c3e

Please sign in to comment.