diff --git a/src/components/views/elements/TextWithTooltip.tsx b/src/components/views/elements/TextWithTooltip.tsx index 79ddabcc90..d5a37e16e7 100644 --- a/src/components/views/elements/TextWithTooltip.tsx +++ b/src/components/views/elements/TextWithTooltip.tsx @@ -16,6 +16,7 @@ import React from 'react'; import classNames from 'classnames'; + import { replaceableComponent } from "../../../utils/replaceableComponent"; import TooltipTarget from './TooltipTarget'; diff --git a/src/components/views/elements/TooltipTarget.tsx b/src/components/views/elements/TooltipTarget.tsx index d7f18fba51..22da867887 100644 --- a/src/components/views/elements/TooltipTarget.tsx +++ b/src/components/views/elements/TooltipTarget.tsx @@ -15,6 +15,7 @@ limitations under the License. */ import React, { useState, HTMLAttributes } from 'react'; + import Tooltip, { ITooltipProps } from './Tooltip'; interface IProps extends HTMLAttributes, Omit { diff --git a/src/components/views/settings/ProfileSettings.tsx b/src/components/views/settings/ProfileSettings.tsx index 6386961ec7..b3e6eb3131 100644 --- a/src/components/views/settings/ProfileSettings.tsx +++ b/src/components/views/settings/ProfileSettings.tsx @@ -28,8 +28,8 @@ import { replaceableComponent } from "../../../utils/replaceableComponent"; import { mediaFromMxc } from "../../../customisations/Media"; import AccessibleButton from '../elements/AccessibleButton'; import AvatarSetting from './AvatarSetting'; - import ExternalLink from '../elements/ExternalLink'; + interface IState { userId?: string; originalDisplayName?: string; diff --git a/test/components/views/rooms/RoomPreviewBar-test.tsx b/test/components/views/rooms/RoomPreviewBar-test.tsx index 98cd47102e..0a255e816f 100644 --- a/test/components/views/rooms/RoomPreviewBar-test.tsx +++ b/test/components/views/rooms/RoomPreviewBar-test.tsx @@ -21,17 +21,12 @@ import { findRenderedDOMComponentWithClass, act, } from 'react-dom/test-utils'; - -import "../../../skinned-sdk"; - -import { stubClient } from '../../../test-utils'; - -import { MatrixClientPeg } from '../../../../src/MatrixClientPeg'; - -import DMRoomMap from '../../../../src/utils/DMRoomMap'; - import { Room, RoomMember, MatrixError, IContent } from 'matrix-js-sdk'; +import "../../../skinned-sdk"; +import { stubClient } from '../../../test-utils'; +import { MatrixClientPeg } from '../../../../src/MatrixClientPeg'; +import DMRoomMap from '../../../../src/utils/DMRoomMap'; import RoomPreviewBar from '../../../../src/components/views/rooms/RoomPreviewBar'; jest.mock('../../../../src/IdentityAuthClient', () => {