From 63a7ff5273185aca994ab5b3c3c6a2589ed6a354 Mon Sep 17 00:00:00 2001
From: David Baker
Date: Tue, 20 Nov 2018 16:20:31 +0000
Subject: [PATCH] lint
---
.../dialogs/keybackup/CreateKeyBackupDialog.js | 17 ++++++++++++++---
.../dialogs/keybackup/RestoreKeyBackupDialog.js | 1 -
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js b/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js
index ad68e15293..aeb0c33b67 100644
--- a/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js
+++ b/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js
@@ -17,7 +17,6 @@ limitations under the License.
import React from 'react';
import sdk from '../../../../index';
import MatrixClientPeg from '../../../../MatrixClientPeg';
-import Promise from 'bluebird';
import { _t, _td } from '../../../../languageHandler';
@@ -196,7 +195,13 @@ export default React.createClass({
".",
{},
{
- button: sub => {sub},
+ button: sub =>
+ {sub}
+ ,
},
)}
{_t(
@@ -204,7 +209,13 @@ export default React.createClass({
".",
{},
{
- button: sub => {sub},
+ button: sub =>
+ {sub}
+ ,
},
)}
;
diff --git a/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js b/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js
index e4250814d0..0cce968d34 100644
--- a/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js
+++ b/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js
@@ -36,7 +36,6 @@ export default React.createClass({
recoveryKeyValid: false,
forceRecoveryKey: false,
passPhrase: '',
- recoveryKey: '',
};
},