From 1ce7bdb9bdf9e0e4c460cadd647907c57316d439 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Wed, 22 Oct 2025 11:47:43 +0200 Subject: [PATCH] better rendering of digital watch --- src/Plant/DigitalWatch/DigitalWatch.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Plant/DigitalWatch/DigitalWatch.tsx b/src/Plant/DigitalWatch/DigitalWatch.tsx index 9d41279..7817457 100644 --- a/src/Plant/DigitalWatch/DigitalWatch.tsx +++ b/src/Plant/DigitalWatch/DigitalWatch.tsx @@ -1,6 +1,5 @@ import imgNote from "./noteSmall.png"; import imgWatch from "./watch.png"; -import imgWatchLight from "./watch-light.png"; import digitalFont from "./digital-font.ttf"; import { Plant } from "../Plant"; import { RaisedEvent } from "@/statecharts/runtime_types"; @@ -38,10 +37,10 @@ export function DigitalWatch({light, h, m, s, alarm, callbacks}: DigitalWatchPro } `} - {light ? - - : - } + + + {light && + } {hhmmss}