Skip to content

Commit 607f1ba

Browse files
authored
Fix: Fix typo in connect.md (#1517)
1 parent 77a2044 commit 607f1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-7.1/api/connect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The second parameter is normally referred to as `ownProps` by convention.
122122
123123
```js
124124
// binds on component re-rendering
125-
;<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
125+
<button onClick={() => this.props.toggleTodo(this.props.todoId)} />
126126

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

0 commit comments

Comments
 (0)