mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 15:19:39 +03:00
fix lint
This commit is contained in:
parent
2a8453b939
commit
a693af0c6b
4 changed files with 2 additions and 6 deletions
|
@ -132,7 +132,7 @@ export default class DeviceVerifyDialog extends React.Component {
|
|||
this._verifier = request.verifier;
|
||||
}
|
||||
} else if (verifyingOwnDevice && SettingsStore.isFeatureEnabled("feature_cross_signing")) {
|
||||
this._request = await client.requestVerification(this.props.userId,[
|
||||
this._request = await client.requestVerification(this.props.userId, [
|
||||
verificationMethods.SAS,
|
||||
SHOW_QR_CODE_METHOD,
|
||||
]);
|
||||
|
|
|
@ -24,7 +24,6 @@ import BaseDialog from './BaseDialog';
|
|||
import DialogButtons from '../elements/DialogButtons';
|
||||
import {verificationMethods} from 'matrix-js-sdk/src/crypto';
|
||||
import {MatrixClientPeg} from "../../../MatrixClientPeg";
|
||||
import {RIGHT_PANEL_PHASES} from "../../../stores/RightPanelStorePhases";
|
||||
import {SHOW_QR_CODE_METHOD} from "matrix-js-sdk/src/crypto/verification/QRCode";
|
||||
|
||||
@replaceableComponent("views.dialogs.NewSessionReviewDialog")
|
||||
|
|
|
@ -31,7 +31,6 @@ import {
|
|||
PHASE_CANCELLED, VerificationRequest,
|
||||
} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
|
||||
import Spinner from "../elements/Spinner";
|
||||
import AccessibleButton from "../elements/AccessibleButton";
|
||||
|
||||
export default class VerificationPanel extends React.PureComponent {
|
||||
static propTypes = {
|
||||
|
|
|
@ -16,10 +16,8 @@ limitations under the License.
|
|||
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { _t, _td } from '../../../languageHandler';
|
||||
import {PendingActionSpinner} from "../right_panel/EncryptionInfo";
|
||||
import { _t } from '../../../languageHandler';
|
||||
import AccessibleButton from "../elements/AccessibleButton";
|
||||
import DialogButtons from "../elements/DialogButtons";
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
import VerificationQRCode from "../elements/crypto/VerificationQRCode";
|
||||
import {VerificationRequest} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
|
||||
|
|
Loading…
Reference in a new issue