Adept KnownMembership imports for new location in types

This commit is contained in:
Andy Balaam 2024-03-18 14:40:52 +00:00
parent 34559d2a89
commit d3c0435446
115 changed files with 193 additions and 216 deletions

View file

@ -15,7 +15,8 @@ limitations under the License.
*/
import { useMemo, useState } from "react";
import { Membership, Room, RoomEvent, RoomMember, RoomStateEvent } from "matrix-js-sdk/src/matrix";
import { Room, RoomEvent, RoomMember, RoomStateEvent } from "matrix-js-sdk/src/matrix";
import { Membership } from "matrix-js-sdk/src/types";
import { throttle } from "lodash";
import { useTypedEventEmitter } from "./useEventEmitter";

View file

@ -15,7 +15,8 @@ limitations under the License.
*/
import { useCallback, useEffect, useMemo, useState } from "react";
import { Room, RoomType, HierarchyRoom, KnownMembership } from "matrix-js-sdk/src/matrix";
import { Room, RoomType, HierarchyRoom } from "matrix-js-sdk/src/matrix";
import { KnownMembership } from "matrix-js-sdk/src/types";
import { RoomHierarchy } from "matrix-js-sdk/src/room-hierarchy";
import { normalize } from "matrix-js-sdk/src/utils";