avoid using import * as Matrix
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
224dac3ffb
commit
d99fb4796f
7 changed files with 15 additions and 17 deletions
|
@ -32,7 +32,7 @@ const TextForEvent = require('../../../TextForEvent');
|
|||
|
||||
import dis from '../../../dispatcher';
|
||||
import SettingsStore from "../../../settings/SettingsStore";
|
||||
import {EventStatus, default as Matrix} from 'matrix-js-sdk';
|
||||
import {EventStatus, MatrixClient} from 'matrix-js-sdk';
|
||||
|
||||
const ObjectUtils = require('../../../ObjectUtils');
|
||||
|
||||
|
@ -189,7 +189,7 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
contextTypes: {
|
||||
matrixClient: PropTypes.instanceOf(Matrix.MatrixClient).isRequired,
|
||||
matrixClient: PropTypes.instanceOf(MatrixClient).isRequired,
|
||||
},
|
||||
|
||||
componentWillMount: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue