Use new CryptoEvent import (#128)

* Use new `CryptoEvent` import

* Remove remaining old `CryptoEvent` import

* Replace `import` by `import type`
This commit is contained in:
Florian Duros
2024-10-16 12:52:28 +02:00
committed by Michael Telatynski
parent 8ae64fe09b
commit b483fdda35
21 changed files with 38 additions and 33 deletions

View File

@@ -26,8 +26,12 @@ import {
} from "matrix-js-sdk/src/matrix";
import { logger } from "matrix-js-sdk/src/logger";
import { CallErrorCode } from "matrix-js-sdk/src/webrtc/call";
import { CryptoEvent } from "matrix-js-sdk/src/crypto";
import { EventShieldColour, EventShieldReason, UserVerificationStatus } from "matrix-js-sdk/src/crypto-api";
import {
CryptoEvent,
EventShieldColour,
EventShieldReason,
UserVerificationStatus,
} from "matrix-js-sdk/src/crypto-api";
import { Tooltip } from "@vector-im/compound-web";
import ReplyChain from "../elements/ReplyChain";