Skip to content

Commit 6ca59ce

Browse files
committed
Remove stray semi
1 parent d0aa780 commit 6ca59ce

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)