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.

small admin fixes

Steven Tey5b5ac1bbc471
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index fe3dc8972e..74d146d114 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@ -32,7 +32,7 @@ export default function WorkspaceLinksClient() {
return (
<>
<AddEditLinkModal />
- <div className="flex h-36 items-center border-b border-gray-200 bg-white">
+ <div className="flex h-36 w-full items-center border-b border-gray-200 bg-white">
<MaxWidthWrapper>
<div className="flex items-center justify-between">
<h1 className="text-2xl font-semibold tracking-tight text-black">
diff --git a/apps/web/ui/analytics/top-links.tsx b/apps/web/ui/analytics/top-links.tsx
index 3164a3bcc8..1e4c55b953 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.replace(/^https?:\/\//, ""),
+ : d.url?.replace(/^https?:\/\//, ""),
href: queryParams({
set: {
...(!showUrls