Skip to content

Commit 19359fb

Browse files
mossa-Sammertimdorr
authored andcommitted
remove useless semicolon (#1486)
1 parent 67d5e86 commit 19359fb

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
@@ -121,7 +121,7 @@ The second parameter is normally referred to as `ownProps` by convention.
121121
122122
```js
123123
// binds on component re-rendering
124-
;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
124+
<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
125125

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

0 commit comments

Comments
 (0)