Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix

Steven Teyf6cb8735b8ab
diff --git a/app/ui/number.tsx b/app/ui/number.tsx
index 6ab2f6bd48..0ef062f0c1 100644
--- a/app/ui/number.tsx
+++ b/app/ui/number.tsx
@@ -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>