Skip to content

Commit 3b94398

Browse files
chore: fix import/order ESlint after rebase
1 parent 1cee8ad commit 3b94398

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

packages/components/src/components/Card/Card.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { forwardRef, HTMLAttributes, ReactNode } from 'react';
2+
23
import styled, { css } from 'styled-components';
4+
35
import { borders, Elevation, spacingsPx } from '@trezor/theme';
6+
47
import { ElevationUp, useElevation } from '../ElevationContext/ElevationContext';
58
import {
69
FrameProps,

packages/components/src/components/Divider/Divider.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import styled, { css } from 'styled-components';
2+
23
import { Color, Elevation, mapElevationToBorder, spacings } from '@trezor/theme';
4+
35
import { useElevation } from '../ElevationContext/ElevationContext';
46
import {
57
FrameProps,

packages/suite/src/views/suite/SwitchDevice/DeviceItem/EjectButton.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { useTheme } from 'styled-components';
22

33
import { Tooltip, Icon } from '@trezor/components';
4+
45
import { Translation } from 'src/components/suite';
6+
57
import { ContentType } from '../types';
68

79
interface EjectButtonProps {

packages/suite/src/views/suite/SwitchDevice/DeviceItem/EjectConfirmation.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1+
import { MouseEventHandler, ReactNode } from 'react';
2+
13
import styled from 'styled-components';
2-
import { useDispatch, useSelector } from 'src/hooks/suite';
4+
35
import { H4, Button, Paragraph, Row } from '@trezor/components';
4-
import { Translation } from 'src/components/suite';
56
import { deviceActions } from '@suite-common/wallet-core';
67
import { analytics, EventType } from '@trezor/suite-analytics';
78
import { AcquiredDevice } from '@suite-common/suite-types';
8-
import { MouseEventHandler, ReactNode } from 'react';
99
import { spacings } from '@trezor/theme';
10+
11+
import { Translation } from 'src/components/suite';
12+
import { useDispatch, useSelector } from 'src/hooks/suite';
13+
1014
import { selectSuiteSettings } from '../../../../reducers/suite/suiteReducer';
1115

1216
const Container = styled.div`

packages/suite/src/views/suite/SwitchDevice/DeviceItem/WalletInstance.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { useState } from 'react';
2+
13
import {
24
selectDiscoveryByDeviceState,
35
selectCurrentFiatRates,
@@ -18,16 +20,16 @@ import {
1820
import { useDispatch, useSelector } from 'src/hooks/suite';
1921
import { AcquiredDevice, ForegroundAppProps } from 'src/types/suite';
2022
import { selectLabelingDataForWallet } from 'src/reducers/suite/metadataReducer';
21-
import { useWalletLabeling } from '../../../../components/suite/labeling/WalletLabeling';
2223
import { METADATA_LABELING } from 'src/actions/suite/constants';
2324
import { selectLocalCurrency } from 'src/reducers/wallet/settingsReducer';
2425
import { FiatHeader } from 'src/components/wallet/FiatHeader';
25-
import { useState } from 'react';
26+
import { redirectAfterWalletSelectedThunk } from 'src/actions/wallet/addWalletThunk';
27+
28+
import { useWalletLabeling } from '../../../../components/suite/labeling/WalletLabeling';
2629
import { EjectConfirmation, EjectConfirmationDisableViewOnly } from './EjectConfirmation';
2730
import { ContentType } from '../types';
2831
import { ViewOnly } from './ViewOnly';
2932
import { EjectButton } from './EjectButton';
30-
import { redirectAfterWalletSelectedThunk } from 'src/actions/wallet/addWalletThunk';
3133

3234
interface WalletInstanceProps {
3335
instance: AcquiredDevice;

0 commit comments

Comments
 (0)