From cdce7dbbbce2cca9122474767f6dc3af680bfd5f Mon Sep 17 00:00:00 2001 From: aoirint Date: Thu, 27 Jul 2023 18:35:46 +0900 Subject: [PATCH] Hide traffic chart and Show humidity chart (#23) * Show humidity chart and hide traffic chart * move last humidity value to humidity chart --- pages/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 61b9c35..8e87d10 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -117,22 +117,22 @@ export default function HomePage() { Light / % - {/* - Humidity / % + + Humidity / {lastHumidityValue?.toFixed(0)} % - */} + - Temperature / {lastTemperatureValue?.toFixed(1)} ℃, {lastHumidityValue?.toFixed(0)} % + Temperature / {lastTemperatureValue?.toFixed(1)} ℃ CO2 / ppm - + {/* Traffic / GiB - + */} {smokePingEntries.map((smokePing, index) => ( {smokePing.name}