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…
Reference in New Issue