Update comment to refer to correct method name (#7873)

This commit is contained in:
Michael O'Brien
2016-10-04 22:53:26 +01:00
committed by Dan Abramov
parent 7b10b2b88d
commit 48ea2d4743

View File

@@ -347,7 +347,7 @@ class SayHello extends React.Component {
}
render() {
// Because we `this.tick` is bound, we can use it as an event handler.
// Because `this.handleClick` is bound, we can use it as an event handler.
return (
<button onClick={this.handleClick}>
Say hello