mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
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:
parent
f743007334
commit
cc4d145f14
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user