diff --git a/src/components/views/dialogs/SuggestKeyRestoreDialog.js b/src/components/views/dialogs/SuggestKeyRestoreDialog.js index 3419b6235c..993bc74666 100644 --- a/src/components/views/dialogs/SuggestKeyRestoreDialog.js +++ b/src/components/views/dialogs/SuggestKeyRestoreDialog.js @@ -14,12 +14,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -import Modal from '../../../Modal'; import React from 'react'; import PropTypes from 'prop-types'; import sdk from '../../../index'; -import { _t, _td } from '../../../languageHandler'; +import { _t } from '../../../languageHandler'; /** * Dialog which asks the user whether they want to restore megolm keys diff --git a/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js b/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js index 03410f4f7d..6e83e4c032 100644 --- a/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js +++ b/src/components/views/dialogs/keybackup/CreateKeyBackupDialog.js @@ -14,9 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import Modal from '../../../../Modal'; import React from 'react'; -import PropTypes from 'prop-types'; import sdk from '../../../../index'; import MatrixClientPeg from '../../../../MatrixClientPeg'; import { formatCryptoKey } from '../../../../utils/FormattingUtils'; @@ -146,7 +144,7 @@ export default React.createClass({

{_t("This key can decrypt your full message history.")}

{_t( "When you've saved it somewhere safe, proceed to the next step where the key will be used to "+ - "create an encrypted backup of your message keys and then destroyed." + "create an encrypted backup of your message keys and then destroyed.", )}