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.

Update link-card.tsx

Tim Wilsoncf4a222a3c5d
diff --git a/apps/web/ui/links/link-card.tsx b/apps/web/ui/links/link-card.tsx
index e842840895..31b548db9a 100644
--- a/apps/web/ui/links/link-card.tsx
+++ b/apps/web/ui/links/link-card.tsx
@@ -44,7 +44,7 @@ export function LinkCard({ link }: { link: ResponseLink }) {
<>
<CardList.Card
key={link.id}
- onClick={isMobile ? () => router.push(editUrl) : undefined}
+ onClick={!isMobile ? () => router.push(editUrl) : undefined}
innerClassName="flex items-center gap-5 sm:gap-8 md:gap-12 text-sm"
{...(variant === "loose" &&
link.folderId &&