From 648675d002ceee06ec6a68a62f6276b513481bce Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 18 Jan 2025 16:10:44 +0100 Subject: [PATCH] auto-formatting --- interface/src/app/status/HardwareStatus.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interface/src/app/status/HardwareStatus.tsx b/interface/src/app/status/HardwareStatus.tsx index 65b599688..681ac0a47 100644 --- a/interface/src/app/status/HardwareStatus.tsx +++ b/interface/src/app/status/HardwareStatus.tsx @@ -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') + : '') } />