auto-formatting

This commit is contained in:
proddy
2025-01-18 16:10:44 +01:00
parent 462d865fc9
commit 648675d002

View File

@@ -100,7 +100,12 @@ const HardwareStatus = () => {
data.cpu_freq_mhz +
' Mhz' +
// bit of a hack : if the CPU temp is higher than 90 (=32 Fahrenheit if using Celsius), show F, otherwise C
(data.temperature ? ', T: ' + data.temperature + ' °' + (data.temperature > 90 ? 'F' : 'C') : '')
(data.temperature
? ', T: ' +
data.temperature +
' °' +
(data.temperature > 90 ? 'F' : 'C')
: '')
}
/>
</ListItem>