diff --git a/src/components/views/dialogs/DeviceVerifyDialog.js b/src/components/views/dialogs/DeviceVerifyDialog.js
index cc5c8c6ef9..c2c754c715 100644
--- a/src/components/views/dialogs/DeviceVerifyDialog.js
+++ b/src/components/views/dialogs/DeviceVerifyDialog.js
@@ -186,7 +186,11 @@ export default class DeviceVerifyDialog extends React.Component {
_renderSasVerificationPhaseShowSas() {
const VerificationShowSas = sdk.getComponent('views.verification.VerificationShowSas');
- return
+ return ;
}
_renderSasVerificationPhaseWaitForPartnerToConfirm() {
@@ -201,12 +205,12 @@ export default class DeviceVerifyDialog extends React.Component {
_renderSasVerificationPhaseVerified() {
const VerificationComplete = sdk.getComponent('views.verification.VerificationComplete');
- return
+ return ;
}
_renderSasVerificationPhaseCancelled() {
const VerificationCancelled = sdk.getComponent('views.verification.VerificationCancelled');
- return
+ return ;
}
_renderLegacyVerification() {
diff --git a/src/components/views/dialogs/IncomingSasDialog.js b/src/components/views/dialogs/IncomingSasDialog.js
index 331b4fc67c..bad1377457 100644
--- a/src/components/views/dialogs/IncomingSasDialog.js
+++ b/src/components/views/dialogs/IncomingSasDialog.js
@@ -16,10 +16,8 @@ limitations under the License.
import React from 'react';
import PropTypes from 'prop-types';
-import MatrixClientPeg from '../../../MatrixClientPeg';
import sdk from '../../../index';
import { _t } from '../../../languageHandler';
-import {verificationMethods} from 'matrix-js-sdk/lib/crypto';
const PHASE_START = 0;
const PHASE_SHOW_SAS = 1;
@@ -102,13 +100,13 @@ export default class IncomingSasDialog extends React.Component {
{_t(
"Verify this user to mark them as trusted. " +
"Trusting users gives you extra peace of mind when using " +
- "end-to-end encrypted messages."
+ "end-to-end encrypted messages.",
)}
{_t(
// NB. Below wording adjusted to singular 'device' until we have
// cross-signing
"Verifying this user will mark their device as trusted, and " +
- "also mark your device as trusted to them"
+ "also mark your device as trusted to them",
)}
+ />;
}
_renderPhaseWaitForPartnerToConfirm() {
@@ -142,12 +140,12 @@ export default class IncomingSasDialog extends React.Component {
_renderPhaseVerified() {
const VerificationComplete = sdk.getComponent('views.verification.VerificationComplete');
- return
+ return ;
}
_renderPhaseCancelled() {
const VerificationCancelled = sdk.getComponent('views.verification.VerificationCancelled');
- return
+ return ;
}
render() {
diff --git a/src/components/views/elements/HexVerify.js b/src/components/views/elements/HexVerify.js
index 667857a792..86ead3adc1 100644
--- a/src/components/views/elements/HexVerify.js
+++ b/src/components/views/elements/HexVerify.js
@@ -16,7 +16,6 @@ limitations under the License.
import React from "react";
import PropTypes from "prop-types";
-import { _t } from '../../../languageHandler';
import classnames from 'classnames';
import sdk from '../../../index';
@@ -40,15 +39,15 @@ class HexVerifyPair extends React.Component {
mx_HexVerify_pair_verified: this.props.verified,
};
const AccessibleButton = sdk.getComponent('views.elements.AccessibleButton');
- return
{this.props.text}
-
+ ;
}
}
-/**
+/*
* Helps a user verify a hexadecimal code matches one displayed
* elsewhere (eg. on a different device)
*/
diff --git a/src/components/views/verification/VerificationCancelled.js b/src/components/views/verification/VerificationCancelled.js
index 7c08d9eb07..b21153f2cc 100644
--- a/src/components/views/verification/VerificationCancelled.js
+++ b/src/components/views/verification/VerificationCancelled.js
@@ -37,4 +37,4 @@ export default class VerificationCancelled extends React.Component {
/>
;
}
-};
+}
diff --git a/src/components/views/verification/VerificationComplete.js b/src/components/views/verification/VerificationComplete.js
index 5153ae6650..59f7ff924a 100644
--- a/src/components/views/verification/VerificationComplete.js
+++ b/src/components/views/verification/VerificationComplete.js
@@ -39,4 +39,4 @@ export default class VerificationComplete extends React.Component {
/>
;
}
-};
+}
diff --git a/src/components/views/verification/VerificationShowSas.js b/src/components/views/verification/VerificationShowSas.js
index b9b5b27ac9..60f70e2748 100644
--- a/src/components/views/verification/VerificationShowSas.js
+++ b/src/components/views/verification/VerificationShowSas.js
@@ -42,11 +42,11 @@ export default class VerificationShowSas extends React.Component {
const HexVerify = sdk.getComponent('views.elements.HexVerify');
return
{_t(
- "Verify this user by confirming the following number appears on their screen"
+ "Verify this user by confirming the following number appears on their screen",
)}
{_t(
"For maximum security, we reccommend you do this in person or use another " +
- "trusted means of communication"
+ "trusted means of communication",
)}
;
}
-};
+}