#1492 Refactoring Fuction Names

This commit is contained in:
Amit Nandan P 2018-06-06 21:40:32 -05:00
parent 5ffc3ab52c
commit 937987ba04

View file

@ -26,7 +26,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
}; };
(this: any).handleSubmit = this.handleSubmit.bind(this); (this: any).handleSubmit = this.handleSubmit.bind(this);
(this: any).handleResendVerification = this.handleResendVerification.bind(this); (this: any).handleResendVerificationEmail = this.handleResendVerificationEmail.bind(this);
} }
handleCodeChanged(event: SyntheticInputEvent<*>) { handleCodeChanged(event: SyntheticInputEvent<*>) {
@ -45,7 +45,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
} }
} }
handleResendVerification() { handleResendVerificationEmail() {
this.props.resendVerificationEmail(this.props.email); this.props.resendVerificationEmail(this.props.email);
} }
@ -80,7 +80,7 @@ class UserEmailVerify extends React.PureComponent<Props, State> {
<Button <Button
button="inverse" button="inverse"
label={__('Resend Verification Email')} label={__('Resend Verification Email')}
onClick={this.handleResendVerification} onClick={this.handleResendVerificationEmail}
/> />
</div> </div>
</Form> </Form>