Skip to content

Commit 48ea2d4

Browse files
mcobriengaearon
authored andcommitted
Update comment to refer to correct method name (facebook#7873)
1 parent 7b10b2b commit 48ea2d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/05-reusable-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class SayHello extends React.Component {
347347
}
348348

349349
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.
351351
return (
352352
<button onClick={this.handleClick}>
353353
Say hello

0 commit comments

Comments
 (0)