Skip to content

Commit 287306d

Browse files
committed
fix test
1 parent ab748b2 commit 287306d

File tree

1 file changed

+4
-4
lines changed
  • src/shared/components/Settings/Account/MyAccount

1 file changed

+4
-4
lines changed

src/shared/components/Settings/Account/MyAccount/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export default class MyAccount extends React.Component {
391391
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
392392
<PrimaryButton
393393
styleName="white-label"
394-
disabled={!this.state.newEmail}
394+
disabled={!newEmail}
395395
onClick={this.onSendVerificationEmail}
396396
>
397397
Send Verification Email
@@ -400,7 +400,7 @@ export default class MyAccount extends React.Component {
400400
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
401401
<PrimaryButton
402402
styleName="white-label"
403-
disabled={!this.state.newEmail}
403+
disabled={!newEmail}
404404
onClick={this.onSendVerificationEmail}
405405
>
406406
Send Verification Email Again
@@ -470,7 +470,7 @@ export default class MyAccount extends React.Component {
470470
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
471471
<PrimaryButton
472472
styleName="white-label"
473-
disabled={!this.state.newEmail}
473+
disabled={!newEmail}
474474
onClick={this.onSendVerificationEmail}
475475
>
476476
Send Verification Email
@@ -479,7 +479,7 @@ export default class MyAccount extends React.Component {
479479
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
480480
<PrimaryButton
481481
styleName="white-label"
482-
disabled={!this.state.newEmail}
482+
disabled={!newEmail}
483483
onClick={this.onSendVerificationEmail}
484484
>
485485
Send Verification Email Again

0 commit comments

Comments
 (0)