Update js-sdk imports to target individual files

This commit is contained in:
Germain Souquet 2021-08-25 10:04:54 +01:00
parent 7938961d27
commit e1e0278190
2 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,8 @@ limitations under the License.
*/ */
import React from 'react'; import React from 'react';
import { MatrixEvent, Room } from 'matrix-js-sdk/src'; import { MatrixEvent } from 'matrix-js-sdk/src/models/event';
import { Room } from 'matrix-js-sdk/src/models/room';
import { MatrixClientPeg } from "../../../MatrixClientPeg"; import { MatrixClientPeg } from "../../../MatrixClientPeg";
import { _t } from '../../../languageHandler'; import { _t } from '../../../languageHandler';
import Spinner from '../elements/Spinner'; import Spinner from '../elements/Spinner';

View file

@ -16,7 +16,7 @@ limitations under the License.
*/ */
import React from 'react'; import React from 'react';
import { IMyDevice } from 'matrix-js-sdk/src'; import { IMyDevice } from 'matrix-js-sdk/src/client';
import { _t } from '../../../languageHandler'; import { _t } from '../../../languageHandler';
import { MatrixClientPeg } from '../../../MatrixClientPeg'; import { MatrixClientPeg } from '../../../MatrixClientPeg';