From 6ba84c61d8976ff41de753425bb777fcafb5e182 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 5 Feb 2024 22:54:52 +0200 Subject: [PATCH] refactor: imports order --- src/App.tsx | 1 - src/pages/DeviceHealthCheck/DeviceHealthCheck.tsx | 1 - src/pages/DeviceSyncStatus/DeviceSyncStatus.tsx | 5 ++--- src/pages/DeviceSyncStatus/SyncStatusCardConsensus.tsx | 4 ++-- src/pages/DeviceSyncStatus/SyncStatusCardExecution.tsx | 3 ++- src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx | 3 +-- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 29cb4766..cefa9c21 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -93,7 +93,6 @@ const router = createBrowserRouter([ { path: '/logs', element: }, { path: '/validator-management', - element: , }, ]) diff --git a/src/pages/DeviceHealthCheck/DeviceHealthCheck.tsx b/src/pages/DeviceHealthCheck/DeviceHealthCheck.tsx index dfbe011a..3a33362d 100644 --- a/src/pages/DeviceHealthCheck/DeviceHealthCheck.tsx +++ b/src/pages/DeviceHealthCheck/DeviceHealthCheck.tsx @@ -36,7 +36,6 @@ const DeviceHealthCheck = () => { { const dispatch = useDispatch() diff --git a/src/pages/DeviceSyncStatus/SyncStatusCardConsensus.tsx b/src/pages/DeviceSyncStatus/SyncStatusCardConsensus.tsx index 9f6d917b..54fa3790 100644 --- a/src/pages/DeviceSyncStatus/SyncStatusCardConsensus.tsx +++ b/src/pages/DeviceSyncStatus/SyncStatusCardConsensus.tsx @@ -1,10 +1,10 @@ import { Separator, Stack, XStack, YStack } from 'tamagui' - import { Shadow, Text } from '@status-im/components' +import { TokenIcon } from '@status-im/icons' + import Icon from '../../components/General/Icon' import StandardGauge from '../../components/Charts/StandardGauge' import IconText from '../../components/General/IconText' -import { TokenIcon } from '@status-im/icons' import { formatNumbersWithComa } from '../../utilities' interface DeviceStorageHealthProps { diff --git a/src/pages/DeviceSyncStatus/SyncStatusCardExecution.tsx b/src/pages/DeviceSyncStatus/SyncStatusCardExecution.tsx index 4f516c19..f3c92d9f 100644 --- a/src/pages/DeviceSyncStatus/SyncStatusCardExecution.tsx +++ b/src/pages/DeviceSyncStatus/SyncStatusCardExecution.tsx @@ -1,8 +1,9 @@ import { Separator, Stack, XStack, YStack } from 'tamagui' import { Shadow, Text } from '@status-im/components' +import { TokenIcon } from '@status-im/icons' + import StandardGauge from '../../components/Charts/StandardGauge' import IconText from '../../components/General/IconText' -import { TokenIcon } from '@status-im/icons' import { formatNumbersWithComa } from '../../utilities' interface DeviceStorageHealthProps { diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx index 79baa6b2..2646db25 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx @@ -1,15 +1,14 @@ import { YStack } from 'tamagui' import { useSelector } from 'react-redux' +import { Outlet } from 'react-router-dom' import { RootState } from '../../redux/store' import FormStepper from './FormStepper/FormStepper' import Titles from '../../components/General/Titles' import ValidatorBoxWrapper from './ValidatorBoxWrapper/ValidatorBoxWrapper' import ContinueButton from './ContinueButton' - import { useWindowSize } from '../../hooks/useWindowSize' import styles from './layoutGradient.module.css' -import { Outlet } from 'react-router-dom' const ValidatorOnboarding = () => { const { activeStep } = useSelector(