Use defer from js-sdk as it has a better ts definition

This commit is contained in:
Michael Telatynski 2021-07-01 22:50:06 +01:00
parent c2545923c1
commit c0fab6647d
4 changed files with 5 additions and 22 deletions

View file

@ -18,10 +18,10 @@ limitations under the License.
import React from 'react';
import ReactDOM from 'react-dom';
import classNames from 'classnames';
import { defer } from "matrix-js-sdk/src/utils";
import Analytics from './Analytics';
import dis from './dispatcher/dispatcher';
import { defer } from './utils/promise';
import AsyncWrapper from './AsyncWrapper';
const DIALOG_CONTAINER_ID = "mx_Dialog_Container";