Skip to content

Commit

Permalink
Removed useless semicolon : Docs - Connect.md (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinceRajRoy authored Apr 10, 2021
1 parent 8913607 commit 5b4b576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The second parameter is normally referred to as `ownProps` by convention.
```js
// binds on component re-rendering
;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
<button onClick={() => this.props.toggleTodo(this.props.todoId)} />

// binds on `props` change
const mapDispatchToProps = (dispatch, ownProps) => ({
Expand Down Expand Up @@ -586,4 +586,4 @@ While the `connect` API has stayed almost entirely API-compatible between all of
For details on the legacy 5.x and 6.x versions, please see these archived files in the React Redux repo:
- [5.x `connect` API reference](https://github.com/reduxjs/react-redux/blob/v7.2.2/website/versioned_docs/version-5.x/api/connect.md)
- [6.x `connect` API reference](https://github.com/reduxjs/react-redux/blob/v7.2.2/website/versioned_docs/version-6.x/api/connect.md)
- [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 comments on commit 5b4b576

Please sign in to comment.