From a1592704a252959c2ef2d1a97409684111011d2e Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 19 Jun 2020 17:17:04 +0100 Subject: [PATCH] Unused code & import --- src/components/structures/auth/SetupEncryptionBody.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/structures/auth/SetupEncryptionBody.js b/src/components/structures/auth/SetupEncryptionBody.js index edb4a7689d..f2e702c8cb 100644 --- a/src/components/structures/auth/SetupEncryptionBody.js +++ b/src/components/structures/auth/SetupEncryptionBody.js @@ -16,7 +16,7 @@ limitations under the License. import React from 'react'; import PropTypes from 'prop-types'; -import { _t, _td } from '../../../languageHandler'; +import { _t } from '../../../languageHandler'; import { MatrixClientPeg } from '../../../MatrixClientPeg'; import * as sdk from '../../../index'; import { @@ -125,18 +125,10 @@ export default class SetupEncryptionBody extends React.Component { } let useRecoveryKeyButton; - let resetKeysCaption; if (recoveryKeyPrompt) { useRecoveryKeyButton = {recoveryKeyPrompt} ; - resetKeysCaption = _td( - "If you've forgotten your recovery key you can ", - ); - } else { - resetKeysCaption = _td( - "If you have no other devices you can ", - ); } return (