Update src/components/DeviceCPULoad.tsx

Co-authored-by: Rickard Andersson <gonz@severnatazvezda.com>
This commit is contained in:
Hristo Nedelkov 2023-08-14 12:21:49 +03:00 committed by GitHub
parent cf2eb7efb6
commit 0a4b717c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ const DeviceCPULoad: React.FC<DeviceCPULoadProps> = ({ load }) => {
</IconText> </IconText>
{message === 'Poor' && ( {message === 'Poor' && (
<Text size={13} color="#E95460"> <Text size={13} color="#E95460">
{((currentLoad / 80) * 100).toFixed(0)}% Uttilization {((currentLoad / 80) * 100).toFixed(0)}% Utilization
</Text> </Text>
)} )}
</XStack> </XStack>