remove references to VerificationBase (#10996)

This commit is contained in:
Richard van der Hoff 2023-06-09 16:49:44 +01:00 committed by GitHub
parent 53b42e3217
commit 47ab99f908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 12 deletions

View file

@ -15,8 +15,7 @@ limitations under the License.
*/
import React, { ReactNode } from "react";
import { VerificationBase } from "matrix-js-sdk/src/crypto/verification/Base";
import { GeneratedSas, ShowSasCallbacks, VerifierEvent } from "matrix-js-sdk/src/crypto-api/verification";
import { GeneratedSas, ShowSasCallbacks, Verifier, VerifierEvent } from "matrix-js-sdk/src/crypto-api/verification";
import { logger } from "matrix-js-sdk/src/logger";
import { MatrixClientPeg } from "../../../MatrixClientPeg";
@ -37,7 +36,7 @@ const PHASE_VERIFIED = 3;
const PHASE_CANCELLED = 4;
interface IProps {
verifier: VerificationBase<VerifierEvent, any>;
verifier: Verifier;
onFinished(verified?: boolean): void;
}