Fix remaining import ordering requirements

pull/21833/head
Travis Ralston 2021-12-09 16:09:20 -07:00
parent 9cc8a6d24a
commit 8a0398b632
4 changed files with 7 additions and 10 deletions

View File

@ -16,6 +16,7 @@
import React from 'react';
import classNames from 'classnames';
import { replaceableComponent } from "../../../utils/replaceableComponent";
import TooltipTarget from './TooltipTarget';

View File

@ -15,6 +15,7 @@ limitations under the License.
*/
import React, { useState, HTMLAttributes } from 'react';
import Tooltip, { ITooltipProps } from './Tooltip';
interface IProps extends HTMLAttributes<HTMLSpanElement>, Omit<ITooltipProps, 'visible'> {

View File

@ -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;

View File

@ -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', () => {