Skip to content

Commit 28c380c

Browse files
committed
Fix countdown
1 parent 20d3b3d commit 28c380c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usehooks.com/src/components/CountdownBanner.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ import Button from "../components/Button.astro";
298298
hours: String(hours).padStart(2, "0"),
299299
minutes: String(minutes).padStart(2, "0"),
300300
seconds: String(seconds).padStart(2, "0"),
301-
hasExpired: delta <= 0,
301+
hasExpired: targetUTC < currentUTC,
302302
};
303303
}
304304
</script>

0 commit comments

Comments
 (0)