#1492 Refactoring Fuction Names
This commit is contained in:
parent
5ffc3ab52c
commit
937987ba04
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
|
|||
};
|
||||
|
||||
(this: any).handleSubmit = this.handleSubmit.bind(this);
|
||||
(this: any).handleResendVerification = this.handleResendVerification.bind(this);
|
||||
(this: any).handleResendVerificationEmail = this.handleResendVerificationEmail.bind(this);
|
||||
}
|
||||
|
||||
handleCodeChanged(event: SyntheticInputEvent<*>) {
|
||||
|
@ -45,7 +45,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
|
|||
}
|
||||
}
|
||||
|
||||
handleResendVerification() {
|
||||
handleResendVerificationEmail() {
|
||||
this.props.resendVerificationEmail(this.props.email);
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
|
|||
<Button
|
||||
button="inverse"
|
||||
label={__('Resend Verification Email')}
|
||||
onClick={this.handleResendVerification}
|
||||
onClick={this.handleResendVerificationEmail}
|
||||
/>
|
||||
</div>
|
||||
</Form>
|
||||
|
|
Loading…
Add table
Reference in a new issue