Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Sep 7, 2023
1 parent 5d519f2 commit f6cb873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/ui/number.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export default function Number({
{lastClicked && (
<p className="mt-1 text-xs text-gray-500">
Last clicked {timeAgo(lastClicked)}{" "}
{Date.now() - new Date(lastClicked).getTime() < 82800000
{Date.now() - new Date(lastClicked).getTime() > 60000 &&
Date.now() - new Date(lastClicked).getTime() < 82800000
? "ago"
: ""}
</p>
Expand Down

0 comments on commit f6cb873

Please sign in to comment.