Fix js-sdk imports (#7938)

This commit is contained in:
Travis Ralston 2022-03-01 16:51:05 -07:00 committed by GitHub
parent f25e6813bb
commit 31f0a37ca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
import React, { SyntheticEvent, useContext } from 'react';
import { Room } from 'matrix-js-sdk';
import { Room } from 'matrix-js-sdk/src/models/room';
import MatrixClientContext from '../../../contexts/MatrixClientContext';
import ContextMenu, { AboveLeftOf } from '../../structures/ContextMenu';

View file

@ -16,7 +16,7 @@ limitations under the License.
import React from 'react';
import { mount } from 'enzyme';
import { RoomMember } from 'matrix-js-sdk';
import { RoomMember } from 'matrix-js-sdk/src/models/room-member';
import '../../../skinned-sdk';
import LocationShareMenu from '../../../../src/components/views/location/LocationShareMenu';