Skip to content

Commit

Permalink
Remove stray semi
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Dec 23, 2018
1 parent d0aa780 commit 6ca59ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/connect.md
Original file line number Diff line number Diff line change
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 6ca59ce

Please sign in to comment.