Update comment to refer to correct method name (#7873)
Michael O'Brien committed
Oct 4, 2016 at 22:53 UTC
48ea2d47439806fae66aa740e4773c8d0d989774
1 file changed
+1
-1
docs/docs/05-reusable-components.md
+1
-1
@@ -347,7 +347,7 @@ class SayHello extends React.Component {
347
}
348
349
render() {
350
- // Because we `this.tick` is bound, we can use it as an event handler.
350
+ // Because `this.handleClick` is bound, we can use it as an event handler.
351
return (
352
<button onClick={this.handleClick}>
353
Say hello