mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
fix: change numbers to new format
This commit is contained in:
parent
c282436245
commit
9aab726a4c
@ -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>
|
||||
|
@ -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'}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user