fix countdown

This commit is contained in:
2025-08-16 15:30:22 -04:00
parent bf55d3334c
commit 9522a93e38
+4 -4
View File
@@ -20,10 +20,10 @@ export default function Countdown() {
if (countdownRef?.current) { if (countdownRef?.current) {
let timerString = ""; let timerString = "";
if (days) timerString += `${days}d, `; timerString += `${days || "0"}d, `;
if (hours) timerString += `${hours}h, `; timerString += `${hours || "0"}h, `;
if (minutes) timerString += `${minutes}m, `; timerString += `${minutes || "0"}m, `;
if (seconds) timerString += `${seconds}s`; timerString += `${seconds || "0"}s`;
if ( if (
days <= 0 && days <= 0 &&