Skip to content

Commit 075ccd1

Browse files
bttmlyDianaSuvorova
authored andcommitted
docs: add equals signs to mapDispatchToProps declarations (#25)
1 parent 1ed0fc3 commit 075ccd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/rules/mapDispatchToProps-prefer-parameters-names.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ const mapDispatchToProps = () => {}
2525
```
2626

2727
```js
28-
const mapDispatchToProps(dispatch, ownProps) => {}
28+
const mapDispatchToProps = (dispatch, ownProps) => {}
2929
```
3030

3131
```js
32-
const mapDispatchToProps(dispatch, {prop1, prop2}) => {}
32+
const mapDispatchToProps = (dispatch, {prop1, prop2}) => {}
3333
```
3434

3535
```js
36-
const mapDispatchToProps(dispatch) => {}
36+
const mapDispatchToProps = (dispatch) => {}
3737
```
3838

3939
```js

0 commit comments

Comments
 (0)