From 45d2d565fccb7c58e694257c3e6207ba9db4b595 Mon Sep 17 00:00:00 2001 From: Cavon Lee Date: Fri, 8 Mar 2024 18:06:40 +0800 Subject: [PATCH] cleanup --- src/components/cards/fanCard.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/cards/fanCard.jsx b/src/components/cards/fanCard.jsx index 5c48aa4..8bafdc7 100644 --- a/src/components/cards/fanCard.jsx +++ b/src/components/cards/fanCard.jsx @@ -22,8 +22,6 @@ const FanCard = (props) => { } let newData = props.data.map(obj => ({ timestamp: timeFormatting(obj.time), - state: obj.fan_state ? "ON" : "OFF", - mode: firstUpperCase(obj.fan_mode), power: obj.fan_power, cpu_temperature: obj.cpu_temperature, }));