mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-10 02:24:13 +00:00
Add emprty state for device memory
This commit is contained in:
parent
bbfc4b198d
commit
305d22d90e
@ -75,7 +75,7 @@ const DeviceMemoryHealth = ({ currentMemory, maxMemory }: DeviceMemoryHealthProp
|
||||
</IconText>
|
||||
{message === 'Poor' && (
|
||||
<Text size={13} color="#E95460">
|
||||
{((currentLoad / maxMemory) * 100).toFixed(0)}% Utilization
|
||||
{((currentLoad / maxMemory || 0) * 100).toFixed(0)}% Utilization
|
||||
</Text>
|
||||
)}
|
||||
</XStack>
|
||||
|
Loading…
x
Reference in New Issue
Block a user