Skip to content

Commit 5b4b576

Browse files
authoredApr 10, 2021
Removed useless semicolon : Docs - Connect.md (#1710)
1 parent 8913607 commit 5b4b576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/api/connect.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The second parameter is normally referred to as `ownProps` by convention.
116116
117117
```js
118118
// binds on component re-rendering
119-
;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
119+
<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
120120

121121
// binds on `props` change
122122
const mapDispatchToProps = (dispatch, ownProps) => ({
@@ -586,4 +586,4 @@ While the `connect` API has stayed almost entirely API-compatible between all of
586586
For details on the legacy 5.x and 6.x versions, please see these archived files in the React Redux repo:
587587
588588
- [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)

0 commit comments

Comments
 (0)
Please sign in to comment.