Fix js-sdk import in SlashCommands

This is important because the `matrix-js-sdk` types are mismatched in some builds of Element
This commit is contained in:
Travis Ralston 2021-04-12 14:06:57 -06:00
parent f743007334
commit cc4d145f14

View File

@ -20,7 +20,7 @@ limitations under the License.
import * as React from 'react';
import { ContentHelpers } from 'matrix-js-sdk';
import { ContentHelpers } from 'matrix-js-sdk/src/content-helpers';
import {MatrixClientPeg} from './MatrixClientPeg';
import dis from './dispatcher/dispatcher';
import * as sdk from './index';