js-sdk imports suck

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-06-25 23:52:32 +01:00
parent 29b0505bdb
commit 6116cfc2b9
1 changed files with 1 additions and 3 deletions
src/components/structures

View File

@ -18,7 +18,7 @@ limitations under the License.
*/
import React, { createRef } from 'react';
import { createClient } from "matrix-js-sdk";
import { createClient } from "matrix-js-sdk/src";
import { InvalidStoreError } from "matrix-js-sdk/src/errors";
import { RoomMember } from "matrix-js-sdk/src/models/room-member";
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
@ -1948,8 +1948,6 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
}
render() {
// console.log(`Rendering MatrixChat with view ${this.state.view}`);
const fragmentAfterLogin = this.getFragmentAfterLogin();
let view;