fix(consensus-selection): replace custom with general card
This commit is contained in:
parent
a037fe436e
commit
1be0de47c4
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue