mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
fix story for bad stats
This commit is contained in:
parent
2211bff22e
commit
edf8bc98d5
@ -18,5 +18,5 @@ export const Default: Story = {
|
||||
args: { storage: 45, maxStorage: 100 },
|
||||
}
|
||||
export const BadStats: Story = {
|
||||
args: { storage: 90, maxStorage: 100 }
|
||||
args: { storage: 110, maxStorage: 100 }
|
||||
}
|
@ -81,7 +81,7 @@ const StorageCard: React.FC<DeviceStorageHealthProps> = ({ storage, maxStorage }
|
||||
}
|
||||
weight={'semibold'}
|
||||
>
|
||||
{message == 'Good' ? message : 'Fair'}
|
||||
{message}
|
||||
</IconText>
|
||||
{message === 'Poor' && (
|
||||
<Text size={13} color="#E95460">
|
||||
|
Loading…
x
Reference in New Issue
Block a user