summaryrefslogtreecommitdiff
path: root/web-ui/src/account_recovery/page.js
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-04-04 18:36:14 -0300
committerSriram Viswanathan <sriramv@thoughtworks.com>2017-04-04 18:36:14 -0300
commitd8ade045a17be8de98ea2a501dbdb7ba166de094 (patch)
tree76049031eb073a8a5a3c28ac75b6bd31654d12da /web-ui/src/account_recovery/page.js
parent3b3f28217a880afd8ec6d45ff57ccd41784847b3 (diff)
[#938] Fixes lint errors
with @anikarni
Diffstat (limited to 'web-ui/src/account_recovery/page.js')
-rw-r--r--web-ui/src/account_recovery/page.js16
1 files changed, 12 insertions, 4 deletions
diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js
index 89441d26..94927a16 100644
--- a/web-ui/src/account_recovery/page.js
+++ b/web-ui/src/account_recovery/page.js
@@ -53,10 +53,18 @@ export class Page extends React.Component {
steps = () => ({
0: <AdminRecoveryCodeForm next={this.nextStep} />,
- 1: (<UserRecoveryCodeForm
- previous={this.previousStep} next={this.nextStep} saveCode={this.saveUserCode}
- />),
- 2: <NewPasswordForm previous={this.previousStep} userCode={this.state.userCode} next={this.nextStep} />,
+ 1:
+ (<UserRecoveryCodeForm
+ previous={this.previousStep}
+ next={this.nextStep}
+ saveCode={this.saveUserCode}
+ />),
+ 2:
+ (<NewPasswordForm
+ previous={this.previousStep}
+ userCode={this.state.userCode}
+ next={this.nextStep}
+ />),
3: <BackupAccountStep />
})