From f5c96c9e4376af84a8e9160523b30d484d9fb57c Mon Sep 17 00:00:00 2001 From: high1 Date: Sun, 25 Jan 2026 19:35:19 +0100 Subject: [PATCH] chore: Removed unneeded typing --- src/ClockHands.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClockHands.tsx b/src/ClockHands.tsx index c41c08c..b8a8103 100644 --- a/src/ClockHands.tsx +++ b/src/ClockHands.tsx @@ -5,7 +5,7 @@ import { rotate, seconds } from '@/common'; import { getTestId } from '@/utilities'; const hours = seconds / 5; -const getSecondsSinceMidnight = (): number => +const getSecondsSinceMidnight = () => (Date.now() - new Date().setHours(0, 0, 0, 0)) / 1000; const [time, setTime] = createSignal(getSecondsSinceMidnight());