From d1fe0b19623665a256be9e22a035bbdc1c5e7225 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 1 Mar 2022 16:40:51 -0700 Subject: [PATCH] Fix js-sdk imports --- src/components/views/location/LocationShareMenu.tsx | 2 +- test/components/views/location/LocationShareMenu-test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/location/LocationShareMenu.tsx b/src/components/views/location/LocationShareMenu.tsx index 3954b450833..0ef3efa1d2a 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 29184a39b30..fdf6b42158f 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';