Fix remaining import ordering requirements
This commit is contained in:
parent
9cc8a6d24a
commit
8a0398b632
4 changed files with 7 additions and 10 deletions
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
import TooltipTarget from './TooltipTarget';
|
import TooltipTarget from './TooltipTarget';
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { useState, HTMLAttributes } from 'react';
|
import React, { useState, HTMLAttributes } from 'react';
|
||||||
|
|
||||||
import Tooltip, { ITooltipProps } from './Tooltip';
|
import Tooltip, { ITooltipProps } from './Tooltip';
|
||||||
|
|
||||||
interface IProps extends HTMLAttributes<HTMLSpanElement>, Omit<ITooltipProps, 'visible'> {
|
interface IProps extends HTMLAttributes<HTMLSpanElement>, Omit<ITooltipProps, 'visible'> {
|
||||||
|
|
|
@ -28,8 +28,8 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
import { mediaFromMxc } from "../../../customisations/Media";
|
import { mediaFromMxc } from "../../../customisations/Media";
|
||||||
import AccessibleButton from '../elements/AccessibleButton';
|
import AccessibleButton from '../elements/AccessibleButton';
|
||||||
import AvatarSetting from './AvatarSetting';
|
import AvatarSetting from './AvatarSetting';
|
||||||
|
|
||||||
import ExternalLink from '../elements/ExternalLink';
|
import ExternalLink from '../elements/ExternalLink';
|
||||||
|
|
||||||
interface IState {
|
interface IState {
|
||||||
userId?: string;
|
userId?: string;
|
||||||
originalDisplayName?: string;
|
originalDisplayName?: string;
|
||||||
|
|
|
@ -21,17 +21,12 @@ import {
|
||||||
findRenderedDOMComponentWithClass,
|
findRenderedDOMComponentWithClass,
|
||||||
act,
|
act,
|
||||||
} from 'react-dom/test-utils';
|
} 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 { 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';
|
import RoomPreviewBar from '../../../../src/components/views/rooms/RoomPreviewBar';
|
||||||
|
|
||||||
jest.mock('../../../../src/IdentityAuthClient', () => {
|
jest.mock('../../../../src/IdentityAuthClient', () => {
|
||||||
|
|
Loading…
Reference in a new issue