fix(consensus-selection): replace custom with general card

This commit is contained in:
RadoslavDimchev 2024-04-18 18:33:58 +03:00 committed by Emil Ivanichkov
parent a037fe436e
commit 1be0de47c4
1 changed files with 5 additions and 8 deletions

View File

@ -2,10 +2,9 @@ import { XStack, Stack, Text as TextTam, YStack } from 'tamagui'
import { Text } from '@status-im/components' import { Text } from '@status-im/components'
import PairedDeviceCard from './PairedDeviceCard' import PairedDeviceCard from './PairedDeviceCard'
import ConsensusGaugeCard from './ConsensusGaugeCard'
import ConsensusClientCard from './ConsensusClientCard' import ConsensusClientCard from './ConsensusClientCard'
import LinkWithArrow from '../../../../components/General/LinkWithArrow' import LinkWithArrow from '../../../../components/General/LinkWithArrow'
import SyncStatusCard from '../../../../components/General/SyncStatusCard'
import { useWindowSize } from '../../../../hooks/useWindowSize' import { useWindowSize } from '../../../../hooks/useWindowSize'
const ConsensusSelection = () => { const ConsensusSelection = () => {
@ -42,16 +41,14 @@ const ConsensusSelection = () => {
}} }}
> >
<PairedDeviceCard /> <PairedDeviceCard />
<SyncStatusCard
<ConsensusGaugeCard synced={123.524}
color="blue" total={172.503}
synced={134879}
title="Execution Sync Status" title="Execution Sync Status"
total={150000} color="#2a4af5"
/> />
</div> </div>
</div> </div>
<YStack mb={'50px'}> <YStack mb={'50px'}>
<Stack style={{ marginBottom: '4px' }}> <Stack style={{ marginBottom: '4px' }}>
<Text size={13} color="#647084"> <Text size={13} color="#647084">