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

@@ -12,8 +12,8 @@ import {
VerificationPhase as Phase,
VerificationRequest,
VerificationRequestEvent,
CryptoEvent,
} from "matrix-js-sdk/src/crypto-api";
import { CryptoEvent } from "matrix-js-sdk/src/crypto";
import { useTypedEventEmitter, useTypedEventEmitterState } from "../../../../hooks/useEventEmitter";
import { _t, _td, TranslationKey } from "../../../../languageHandler";