From 220b13eafcc42b32e5992b75ae7e5a59bb7136cd Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Sat, 7 Oct 2023 19:52:55 +0300 Subject: [PATCH] fix: imports order --- src/App.tsx | 5 +++-- .../ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx | 2 +- src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index f433fcc2..e526d90f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,19 +1,20 @@ import { TamaguiProvider, Theme } from 'tamagui' import { createBrowserRouter, RouterProvider } from 'react-router-dom' import { Provider as StatusProvider } from '@status-im/components' -import './App.css' +import { useSelector } from 'react-redux' + import config from '../tamagui.config' import LandingPage from './pages/LandingPage/LandingPage' import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck' import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage' import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus' import PairDevice from './pages/PairDevice/PairDevice' -import { useSelector } from 'react-redux' import PinnedNotification from './components/General/PinnedNottification' import { RootState } from './redux/store' import CreateLocalNodePage from './pages/CreateLocalNodePage/CreateLocalNodePage' import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding' import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance' +import './App.css' const router = createBrowserRouter([ { diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx index 8c672ccf..8e09f8de 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx @@ -6,8 +6,8 @@ import KeyGenerationHeader from './KeyGenerationHeader/KeyGenerationHeader' import RecoveryMechanism from './RecoveryMechanism/RecoveryMechanism' import KeystoreFiles from './KeystoreFiles' import RecoveryPhrase from './RecoveryPhrase' -import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../constants' import ConfirmRecoveryPhrase from './ConfirmRecoveryPhrase/ConfirmRecoveryPhrase' +import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../constants' type KeyGenerationProps = { isConfirmPhraseStage: boolean diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx index e8cb282d..c107208b 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx @@ -2,6 +2,7 @@ import { YStack } from 'tamagui' import { useNavigate } from 'react-router-dom' import { useState } from 'react' import { useDispatch, useSelector } from 'react-redux' +import wordlist from 'web-bip39/wordlists/english' import FormStepper from './FormStepper/FormStepper' import Titles from '../../components/General/Titles' @@ -20,9 +21,8 @@ import { setValidWords, } from '../../redux/ValidatorOnboarding/KeyGeneration/slice' import { RootState } from '../../redux/store' -import './layoutGradient.css' import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup' -import wordlist from 'web-bip39/wordlists/english' +import './layoutGradient.css' const ValidatorOnboarding = () => { const [activeStep, setActiveStep] = useState(0)