mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Update comment to refer to correct method name (#7873)
This commit is contained in:
committed by
Dan Abramov
parent
7b10b2b88d
commit
48ea2d4743
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user