Consume more imports from matrix-js-sdk/src/matrix (#11449)
This commit is contained in:
parent
aa6e3654b8
commit
99e80dd296
89 changed files with 236 additions and 172 deletions
|
@ -24,8 +24,8 @@ import {
|
|||
MatrixEvent,
|
||||
EventType,
|
||||
Relations,
|
||||
M_BEACON,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
import { M_BEACON } from "matrix-js-sdk/src/@types/beacon";
|
||||
|
||||
import MBeaconBody from "../../../../src/components/views/messages/MBeaconBody";
|
||||
import {
|
||||
|
|
|
@ -16,16 +16,17 @@ limitations under the License.
|
|||
|
||||
import React from "react";
|
||||
import { fireEvent, render, RenderResult } from "@testing-library/react";
|
||||
import { MatrixEvent, Relations } from "matrix-js-sdk/src/matrix";
|
||||
import {
|
||||
MatrixEvent,
|
||||
Relations,
|
||||
M_POLL_KIND_DISCLOSED,
|
||||
M_POLL_KIND_UNDISCLOSED,
|
||||
M_POLL_RESPONSE,
|
||||
M_POLL_START,
|
||||
PollStartEventContent,
|
||||
PollAnswer,
|
||||
} from "matrix-js-sdk/src/@types/polls";
|
||||
import { M_TEXT } from "matrix-js-sdk/src/@types/extensible_events";
|
||||
M_TEXT,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
|
||||
import MPollBody, { allVotes, findTopAnswer, isPollEnded } from "../../../../src/components/views/messages/MPollBody";
|
||||
import { IBodyProps } from "../../../../src/components/views/messages/IBodyProps";
|
||||
|
|
|
@ -16,9 +16,8 @@ limitations under the License.
|
|||
|
||||
import React from "react";
|
||||
import { render } from "@testing-library/react";
|
||||
import { EventTimeline, MatrixEvent, Room } from "matrix-js-sdk/src/matrix";
|
||||
import { EventTimeline, MatrixEvent, Room, M_TEXT } from "matrix-js-sdk/src/matrix";
|
||||
import { logger } from "matrix-js-sdk/src/logger";
|
||||
import { M_TEXT } from "matrix-js-sdk/src/@types/extensible_events";
|
||||
|
||||
import { IBodyProps } from "../../../../src/components/views/messages/IBodyProps";
|
||||
import { MPollEndBody } from "../../../../src/components/views/messages/MPollEndBody";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue