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
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { BeaconLocationState } from "matrix-js-sdk/src/content-helpers";
|
||||
import { ContentHelpers } from "matrix-js-sdk/src/matrix";
|
||||
|
||||
export enum BeaconDisplayStatus {
|
||||
Loading = "Loading",
|
||||
|
@ -24,7 +24,7 @@ export enum BeaconDisplayStatus {
|
|||
}
|
||||
export const getBeaconDisplayStatus = (
|
||||
isLive: boolean,
|
||||
latestLocationState?: BeaconLocationState,
|
||||
latestLocationState?: ContentHelpers.BeaconLocationState,
|
||||
error?: Error,
|
||||
waitingToStart?: boolean,
|
||||
): BeaconDisplayStatus => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue