Adept KnownMembership imports for new location in types

This commit is contained in:
Andy Balaam
2024-03-18 14:43:08 +00:00
parent 34559d2a89
commit d3c0435446
115 changed files with 193 additions and 216 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ limitations under the License.
import { waitFor } from "@testing-library/react";
import { renderHook, act } from "@testing-library/react-hooks/dom";
import { KnownMembership, MatrixClient, MatrixEvent, Room } from "matrix-js-sdk/src/matrix";
import { MatrixClient, MatrixEvent, Room } from "matrix-js-sdk/src/matrix";
import { KnownMembership } from "matrix-js-sdk/src/types";
import { MatrixClientPeg } from "../../src/MatrixClientPeg";
import { stubClient } from "../test-utils";
+2 -7
View File
@@ -15,13 +15,8 @@ limitations under the License.
*/
import { renderHook } from "@testing-library/react-hooks";
import {
EventStatus,
KnownMembership,
NotificationCountType,
PendingEventOrdering,
Room,
} from "matrix-js-sdk/src/matrix";
import { EventStatus, NotificationCountType, PendingEventOrdering, Room } from "matrix-js-sdk/src/matrix";
import { KnownMembership } from "matrix-js-sdk/src/types";
import type { MatrixClient } from "matrix-js-sdk/src/matrix";
import { useUnreadNotifications } from "../../src/hooks/useUnreadNotifications";