Skip to content

Commit

Permalink
remove useless semicolon (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
mossa-Sammer authored and timdorr committed Dec 13, 2019
1 parent 67d5e86 commit 19359fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/connect.md
Expand Up @@ -121,7 +121,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

0 comments on commit 19359fb

Please sign in to comment.