fix: imports order
This commit is contained in:
parent
6f558968a8
commit
220b13eafc
|
@ -1,19 +1,20 @@
|
||||||
import { TamaguiProvider, Theme } from 'tamagui'
|
import { TamaguiProvider, Theme } from 'tamagui'
|
||||||
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
|
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
|
||||||
import { Provider as StatusProvider } from '@status-im/components'
|
import { Provider as StatusProvider } from '@status-im/components'
|
||||||
import './App.css'
|
import { useSelector } from 'react-redux'
|
||||||
|
|
||||||
import config from '../tamagui.config'
|
import config from '../tamagui.config'
|
||||||
import LandingPage from './pages/LandingPage/LandingPage'
|
import LandingPage from './pages/LandingPage/LandingPage'
|
||||||
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
|
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
|
||||||
import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage'
|
import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage'
|
||||||
import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus'
|
import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus'
|
||||||
import PairDevice from './pages/PairDevice/PairDevice'
|
import PairDevice from './pages/PairDevice/PairDevice'
|
||||||
import { useSelector } from 'react-redux'
|
|
||||||
import PinnedNotification from './components/General/PinnedNottification'
|
import PinnedNotification from './components/General/PinnedNottification'
|
||||||
import { RootState } from './redux/store'
|
import { RootState } from './redux/store'
|
||||||
import CreateLocalNodePage from './pages/CreateLocalNodePage/CreateLocalNodePage'
|
import CreateLocalNodePage from './pages/CreateLocalNodePage/CreateLocalNodePage'
|
||||||
import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding'
|
import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding'
|
||||||
import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance'
|
import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance'
|
||||||
|
import './App.css'
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createBrowserRouter([
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,8 +6,8 @@ import KeyGenerationHeader from './KeyGenerationHeader/KeyGenerationHeader'
|
||||||
import RecoveryMechanism from './RecoveryMechanism/RecoveryMechanism'
|
import RecoveryMechanism from './RecoveryMechanism/RecoveryMechanism'
|
||||||
import KeystoreFiles from './KeystoreFiles'
|
import KeystoreFiles from './KeystoreFiles'
|
||||||
import RecoveryPhrase from './RecoveryPhrase'
|
import RecoveryPhrase from './RecoveryPhrase'
|
||||||
import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../constants'
|
|
||||||
import ConfirmRecoveryPhrase from './ConfirmRecoveryPhrase/ConfirmRecoveryPhrase'
|
import ConfirmRecoveryPhrase from './ConfirmRecoveryPhrase/ConfirmRecoveryPhrase'
|
||||||
|
import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../constants'
|
||||||
|
|
||||||
type KeyGenerationProps = {
|
type KeyGenerationProps = {
|
||||||
isConfirmPhraseStage: boolean
|
isConfirmPhraseStage: boolean
|
||||||
|
|
|
@ -2,6 +2,7 @@ import { YStack } from 'tamagui'
|
||||||
import { useNavigate } from 'react-router-dom'
|
import { useNavigate } from 'react-router-dom'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { useDispatch, useSelector } from 'react-redux'
|
import { useDispatch, useSelector } from 'react-redux'
|
||||||
|
import wordlist from 'web-bip39/wordlists/english'
|
||||||
|
|
||||||
import FormStepper from './FormStepper/FormStepper'
|
import FormStepper from './FormStepper/FormStepper'
|
||||||
import Titles from '../../components/General/Titles'
|
import Titles from '../../components/General/Titles'
|
||||||
|
@ -20,9 +21,8 @@ import {
|
||||||
setValidWords,
|
setValidWords,
|
||||||
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
|
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
|
||||||
import { RootState } from '../../redux/store'
|
import { RootState } from '../../redux/store'
|
||||||
import './layoutGradient.css'
|
|
||||||
import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup'
|
import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup'
|
||||||
import wordlist from 'web-bip39/wordlists/english'
|
import './layoutGradient.css'
|
||||||
|
|
||||||
const ValidatorOnboarding = () => {
|
const ValidatorOnboarding = () => {
|
||||||
const [activeStep, setActiveStep] = useState(0)
|
const [activeStep, setActiveStep] = useState(0)
|
||||||
|
|
Loading…
Reference in New Issue