From 9d085a116970332abeb6a1182fc8de7722da1848 Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sat, 6 Sep 2025 20:38:34 -0400 Subject: [PATCH] fix hours countdown value --- src/components/Countdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Countdown.tsx b/src/components/Countdown.tsx index 331e9e5..00fcbd9 100644 --- a/src/components/Countdown.tsx +++ b/src/components/Countdown.tsx @@ -13,7 +13,7 @@ export default function Countdown() { const days = Math.floor(difference / (1000 * 60 * 60 * 24)); const hours = Math.floor( - difference / (1000 * 60 * 60 * 24) / (1000 * 60 * 60) + (difference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60) ); const minutes = Math.floor((difference % (1000 * 60 * 60)) / (1000 * 60)); const seconds = Math.floor((difference % (1000 * 60)) / 1000);