diff options
author | thaissiqueira <thais.siqueira@thoughtworks.com> | 2017-03-16 14:07:04 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-16 14:07:04 -0300 |
commit | f9ab38869b29eb4560b8b8f69c1dab191adfe782 (patch) | |
tree | 5328a3b6694e6fe5714bd50d31fbd4d5871688a0 /web-ui/src/backup_account/page.js | |
parent | d1459b65bc24e51b4cf350de052cf8cfa5cd88d8 (diff) | |
parent | 965ab52b3d3a7a75347cfa58c4bbbe16ea64b014 (diff) |
Merge pull request #1014 from pixelated/update-recovery-code
Update recovery code
Diffstat (limited to 'web-ui/src/backup_account/page.js')
-rw-r--r-- | web-ui/src/backup_account/page.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web-ui/src/backup_account/page.js b/web-ui/src/backup_account/page.js index 221c6978..49e4b316 100644 --- a/web-ui/src/backup_account/page.js +++ b/web-ui/src/backup_account/page.js @@ -34,10 +34,8 @@ export class Page extends React.Component { this.state = { status: '' }; } - saveBackupEmail = () => { - this.setState({ - status: 'success' - }); + saveBackupEmail = (status) => { + this.setState({ status }); } mainContent = () => { |