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);