fix: change numbers to new format

This commit is contained in:
RadoslavDimchev 2023-08-30 10:52:11 +03:00
parent c282436245
commit 9aab726a4c
2 changed files with 8 additions and 6 deletions

View File

@ -13,6 +13,7 @@ import { useEffect } from 'react'
const DeviceSyncStatus = () => {
const dispatch = useDispatch()
useEffect(() => {
dispatch(
setPinnedMessage({
@ -22,6 +23,7 @@ const DeviceSyncStatus = () => {
}),
)
}, [dispatch])
return (
<PageWrapperShadow rightImageSrc="./background-images/sync-status-background.png">
<YStack
@ -38,8 +40,8 @@ const DeviceSyncStatus = () => {
subtitle="Monitor your Validator Client and Beacon Node syncing progression."
/>
<YStack style={{ width: '100%' }}>
<SyncStatusCardExecution synced={132432} total={200000} />
<SyncStatusCardConsensus synced={149500} total={160000} />
<SyncStatusCardExecution synced={132.432} total={200.0} />
<SyncStatusCardConsensus synced={149.5} total={160.0} />
</YStack>
<Stack style={{ marginTop: '1rem' }}>
<Button>Continue</Button>

View File

@ -54,16 +54,16 @@ const Activation = () => {
value=""
isGaugeIncluded={true}
gaugeColor={'#2a4af5'}
gaugeSynced={123524}
gaugeTotal={172503}
gaugeSynced={123.524}
gaugeTotal={172.503}
/>
<ActivationCard
text="Execution Sync Status"
value=""
isGaugeIncluded={true}
gaugeColor={'#EB5757'}
gaugeSynced={123524}
gaugeTotal={172503}
gaugeSynced={123.524}
gaugeTotal={172.503}
/>
</XStack>
<XStack space={'$3'}>