Switch to importing most things from the main matrix-js-sdk export (#11406)
* Switch to importing most things from the main matrix-js-sdk export * fix imports * Iterate * Fix tests
This commit is contained in:
parent
0842559fb2
commit
ad73b0c16e
52 changed files with 262 additions and 277 deletions
|
@ -23,8 +23,8 @@ import {
|
|||
MatrixClient,
|
||||
RelationType,
|
||||
IRedactOpts,
|
||||
ContentHelpers,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
import { BeaconLocationState } from "matrix-js-sdk/src/content-helpers";
|
||||
import { randomString } from "matrix-js-sdk/src/randomstring";
|
||||
import { M_BEACON } from "matrix-js-sdk/src/@types/beacon";
|
||||
import classNames from "classnames";
|
||||
|
@ -51,7 +51,7 @@ const useBeaconState = (
|
|||
): {
|
||||
beacon?: Beacon;
|
||||
description?: string;
|
||||
latestLocationState?: BeaconLocationState;
|
||||
latestLocationState?: ContentHelpers.BeaconLocationState;
|
||||
isLive?: boolean;
|
||||
waitingToStart?: boolean;
|
||||
} => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue