Consume more imports from matrix-js-sdk/src/matrix (#11449)

This commit is contained in:
Michael Telatynski
2023-08-23 09:04:25 +00:00
committed by GitHub
parent aa6e3654b8
commit 99e80dd296
89 changed files with 236 additions and 172 deletions
+8 -2
View File
@@ -15,8 +15,14 @@ limitations under the License.
*/
import { useEffect, useState } from "react";
import { EventType, MatrixEvent, Room, RoomStateEvent, ContentHelpers } from "matrix-js-sdk/src/matrix";
import { MRoomTopicEventContent } from "matrix-js-sdk/src/@types/topic";
import {
EventType,
MatrixEvent,
Room,
RoomStateEvent,
ContentHelpers,
MRoomTopicEventContent,
} from "matrix-js-sdk/src/matrix";
import { Optional } from "matrix-events-sdk";
import { useTypedEventEmitter } from "../useEventEmitter";
+1 -2
View File
@@ -14,8 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { MatrixClient } from "matrix-js-sdk/src/matrix";
import { IThreepid } from "matrix-js-sdk/src/@types/threepids";
import { MatrixClient, IThreepid } from "matrix-js-sdk/src/matrix";
import { useAsyncRefreshMemo } from "./useAsyncRefreshMemo";