fix(left-manage-validator): separate into different folders
This commit is contained in:
parent
f8816abb71
commit
345f978e1c
|
@ -4,8 +4,8 @@ import { InformationBox } from '@status-im/components'
|
|||
import { CloseCircleIcon } from '@status-im/icons'
|
||||
|
||||
import Header from './Header'
|
||||
import ValidatorDataCards from './ValidatorDataCards'
|
||||
import ValidatorSettingsCards from './ValidatorSettingsCards'
|
||||
import ValidatorDataCards from './ValidatorDataCards/ValidatorDataCards'
|
||||
import ValidatorSettingsCards from './ValidatorSettingsCards/ValidatorSettingsCards'
|
||||
import ValidatorGraffiti from './ValidatorGraffiti'
|
||||
import ValidatorDataTabs from './ManageValidatorTable/ValidatorDataTabs'
|
||||
import Footer from './Footer'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { Text } from '@status-im/components'
|
||||
import { XStack, YStack } from 'tamagui'
|
||||
import Icon from '../../../components/General/Icon'
|
||||
|
||||
import Icon from '../../../../components/General/Icon'
|
||||
|
||||
type ValidatorDataCardProps = {
|
||||
title: string
|
|
@ -1,4 +1,5 @@
|
|||
import { Stack } from 'tamagui'
|
||||
|
||||
import ValidatorDataCard from './ValidatorDataCard'
|
||||
import ValidatorPeersCard from './ValidatorPeersCard'
|
||||
|
||||
|
@ -14,7 +15,7 @@ const ValidatorDataCards = () => {
|
|||
padding: '0 30px',
|
||||
}}
|
||||
>
|
||||
<ValidatorPeersCard title="Peers" value="67"></ValidatorPeersCard>
|
||||
<ValidatorPeersCard title="Peers" value="67" />
|
||||
<ValidatorDataCard title="Slots Behind" value={19} iconPath="ghost.png" />
|
||||
<ValidatorDataCard
|
||||
title="Blocks"
|
|
@ -3,7 +3,7 @@ import { DisconnectIcon, AdvancedIcon, ExternalIcon } from '@status-im/icons'
|
|||
import { useNavigate } from 'react-router-dom'
|
||||
import { Stack, YStack } from 'tamagui'
|
||||
|
||||
import { CARD_TITLES } from '../../../constants'
|
||||
import { CARD_TITLES } from '../../../../constants'
|
||||
|
||||
type CardTitle = (typeof CARD_TITLES)[number]
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import { Stack } from 'tamagui'
|
||||
|
||||
import ValidatorSettingCard from './ValidatorSettingCard'
|
||||
import { CARD_TITLES } from '../../../constants'
|
||||
import { CARD_TITLES } from '../../../../constants'
|
||||
|
||||
const ValidatorSettingsCards = () => {
|
||||
return (
|
Loading…
Reference in New Issue