mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-20 16:30:34 +00:00
fix: add valid data to gauges
This commit is contained in:
parent
da0880fc84
commit
6e7e70434d
@ -26,14 +26,14 @@ const KeyGenerationSyncCard = ({ synced, total, title, color }: KeyGenerationSyn
|
||||
<StandardGauge
|
||||
data={[
|
||||
{
|
||||
id: 'storage',
|
||||
label: 'Used',
|
||||
id: title,
|
||||
label: title,
|
||||
value: synced,
|
||||
color: color,
|
||||
},
|
||||
{
|
||||
id: 'storage',
|
||||
label: 'Free',
|
||||
id: 'free',
|
||||
label: 'free',
|
||||
value: total - synced || 1,
|
||||
color: '#E7EAEE',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user