Fix js-sdk imports (#7938)

pull/21833/head
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';