We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c2c59 commit 985ecffCopy full SHA for 985ecff
1 file changed
src/ClockHands.tsx
@@ -5,7 +5,7 @@ import { rotate, seconds } from '@/common';
5
import { getTestId } from '@/utilities';
6
7
const hours = seconds / 5;
8
-const getSecondsSinceMidnight = (): number =>
+const getSecondsSinceMidnight = () =>
9
(Date.now() - new Date().setHours(0, 0, 0, 0)) / 1000;
10
11
const [time, setTime] = createSignal(getSecondsSinceMidnight());
0 commit comments