Skip to content

Commit 4a65734

Browse files
authored
docs: Remove unnecessary semicolon in connect docs (#1728)
1 parent 2d3309d commit 4a65734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ The second parameter is normally referred to as `ownProps` by convention.
119119
120120
```js
121121
// binds on component re-rendering
122-
;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
122+
<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
123123

124124
// binds on `props` change
125125
const mapDispatchToProps = (dispatch, ownProps) => ({

0 commit comments

Comments
 (0)