File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ The second parameter is normally referred to as `ownProps` by convention.
116
116
117
117
` ` ` js
118
118
// binds on component re-rendering
119
- ; < button onClick = {() => this .props .toggleTodo (this .props .todoId )} / >
119
+ < button onClick = {() => this .props .toggleTodo (this .props .todoId )} / >
120
120
121
121
// binds on `props` change
122
122
const mapDispatchToProps = (dispatch , ownProps ) => ({
@@ -586,4 +586,4 @@ While the `connect` API has stayed almost entirely API-compatible between all of
586
586
For details on the legacy 5.x and 6.x versions, please see these archived files in the React Redux repo:
587
587
588
588
- [5.x ` connect ` API reference](https://github.com/reduxjs/react-redux/blob/v7.2.2/website/versioned_docs/version-5.x/api/connect.md)
589
- - [6.x ` connect ` API reference](https://github.com/reduxjs/react-redux/blob/v7.2.2/website/versioned_docs/version-6.x/api/connect.md)
589
+ - [6.x ` connect ` API reference](https://github.com/reduxjs/react-redux/blob/v7.2.2/website/versioned_docs/version-6.x/api/connect.md)
You can’t perform that action at this time.
0 commit comments