Skip to content

Commit 939df49

Browse files
authored
Merge pull request #430 from rhysd/patch-1
[skip ci] Tiny document fix: `args` is not used
2 parents ac12598 + 22e6c3e commit 939df49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ function mapStateToProps() {
100100
```
101101
```javascript
102102
const mapStateToProps = (...args) => {
103-
console.log(arguments[0]); // state
104-
console.log(arguments[1]); // ownProps
103+
console.log(args[0]); // state
104+
console.log(args[1]); // ownProps
105105
}
106106
```
107107

0 commit comments

Comments
 (0)