diff --git a/src/components/views/location/LocationShareMenu.tsx b/src/components/views/location/LocationShareMenu.tsx index 3954b45083..0ef3efa1d2 100644 --- a/src/components/views/location/LocationShareMenu.tsx +++ b/src/components/views/location/LocationShareMenu.tsx @@ -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'; diff --git a/test/components/views/location/LocationShareMenu-test.tsx b/test/components/views/location/LocationShareMenu-test.tsx index 29184a39b3..fdf6b42158 100644 --- a/test/components/views/location/LocationShareMenu-test.tsx +++ b/test/components/views/location/LocationShareMenu-test.tsx @@ -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';