Skip to content

Commit 6116cfc

Browse files
committed
js-sdk imports suck
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 29b0505 commit 6116cfc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/structures/MatrixChat.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
*/
1919

2020
import React, { createRef } from 'react';
21-
import { createClient } from "matrix-js-sdk";
21+
import { createClient } from "matrix-js-sdk/src";
2222
import { InvalidStoreError } from "matrix-js-sdk/src/errors";
2323
import { RoomMember } from "matrix-js-sdk/src/models/room-member";
2424
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
@@ -1948,8 +1948,6 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
19481948
}
19491949

19501950
render() {
1951-
// console.log(`Rendering MatrixChat with view ${this.state.view}`);
1952-
19531951
const fragmentAfterLogin = this.getFragmentAfterLogin();
19541952
let view;
19551953

0 commit comments

Comments
 (0)