Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix js-sdk imports (#7938)
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Mar 1, 2022
1 parent f25e681 commit 31f0a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/views/location/LocationShareMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion test/components/views/location/LocationShareMenu-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 31f0a37

Please sign in to comment.