Skip to content

Commit 03fa4b9

Browse files
kirillkuKent C. Dodds
authored andcommitted
docs: fix typo in readme (#217)
**What**: Just a typo in the docs **Why**: <!-- How were these changes implemented? --> **How**: <!-- Have you done all of these things? --> **Checklist**: <!-- add "N/A" to the end of each line that's irrelevant to your changes --> <!-- to check an item, place an "x" in the box like so: "- [x] Documentation" --> - [ ] Documentation N/A - [ ] Tests N/A - [x] Ready to be merged
1 parent 5c63548 commit 03fa4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ class TestComponent extends React.Component {
639639
render() {
640640
const {count} = this.state
641641

642-
return <button onClick={() => this.setState({count: count + 1})}>Click to increase: {count}</div>
642+
return <button onClick={() => this.setState({count: count + 1})}>Click to increase: {count}</button>
643643
}
644644
}
645645

0 commit comments

Comments
 (0)