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 top urls

Steven Tey806124e5f594
diff --git a/apps/web/ui/analytics/bar-list.tsx b/apps/web/ui/analytics/bar-list.tsx
index ba5250567a..d6d9ced939 100644
--- a/apps/web/ui/analytics/bar-list.tsx
+++ b/apps/web/ui/analytics/bar-list.tsx
@@ -117,7 +117,7 @@ export function LineItem({
<div className="z-10 flex items-center space-x-4 px-3">
{icon}
<div className="truncate text-sm text-gray-800">
- {truncate(title, 36)}
+ {truncate(title, 56)}
</div>
</div>
);
diff --git a/apps/web/ui/analytics/top-links.tsx b/apps/web/ui/analytics/top-links.tsx
index c01c32ee81..3164a3bcc8 100644
--- a/apps/web/ui/analytics/top-links.tsx
+++ b/apps/web/ui/analytics/top-links.tsx
@@ -44,7 +44,7 @@ export default function TopLinks() {
title:
!showUrls && d["shortLink"]
? d["shortLink"].replace(/^https?:\/\//, "")
- : d.url,
+ : d.url.replace(/^https?:\/\//, ""),
href: queryParams({
set: {
...(!showUrls