Add device name formatting

This commit is contained in:
antoplt committed 2025-11-18 13:13:35 +01:00
1 parent ffa4b1695b
commit f8d5791fab
1 file changed
+9
@@ -120,6 +120,14 @@ const useHardwareUtils = () => {
}
};
const formatDeviceName = (device) => {
return (
<>
{String(device)}
</>
);
};
/**
* Converts a decimal value to a percentage
*
@@ -178,6 +186,7 @@ const useHardwareUtils = () => {
return {
formatBytes,
formatDeviceName,
decimalToPercentage,
buildTemps,
getDimensions,