fix story for bad stats

This commit is contained in:
Hristo Nedelkov 2023-09-16 08:07:09 +03:00
parent 2211bff22e
commit edf8bc98d5
2 changed files with 2 additions and 2 deletions

View File

@ -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 }
}

View File

@ -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">