Skip to content

Commit

Permalink
remove (event) from onClick event
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukeghenco authored Feb 10, 2017
1 parent 19365aa commit 060ff5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class App extends Component {
render() {
return (
<div className="App">
<button onClick={(event) => this.handleOnClick()}>
<button onClick={() => this.handleOnClick()}>
Click
</button>
<p>{this.props.items.length}</p>
Expand Down

0 comments on commit 060ff5f

Please sign in to comment.