The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update customer-row-item.tsx
Steven Tey65af61ec928c
diff --git a/apps/web/ui/analytics/events/customer-row-item.tsx b/apps/web/ui/analytics/events/customer-row-item.tsxindex 16f8223ac6..87206710a7 100644--- a/apps/web/ui/analytics/events/customer-row-item.tsx+++ b/apps/web/ui/analytics/events/customer-row-item.tsx@@ -9,21 +9,20 @@ export function CustomerRowItem({ customer }: { customer: Customer }) {const display = customer.email || customer.name || generateRandomName();return (- <>- <Link- href={`/${slug}/customers/${customer.id}`}- className="group flex cursor-alias items-center justify-between gap-2 px-4 py-2.5 decoration-dotted hover:underline"- >- <div className="flex items-center gap-3 truncate" title={display}>- <img- alt={display}- src={customer.avatar || ""}- className="size-4 shrink-0 rounded-full border border-neutral-200"- />- <span className="truncate">{display}</span>- </div>- <ChartActivity2 className="size-3.5 shrink-0 transition-all group-hover:-translate-x-3 group-hover:opacity-0" />- </Link>- </>+ <Link+ href={`/${slug}/customers/${customer.id}`}+ target="_blank"+ className="group flex cursor-alias items-center justify-between gap-2 px-4 py-2.5 decoration-dotted hover:underline"+ >+ <div className="flex items-center gap-3 truncate" title={display}>+ <img+ alt={display}+ src={customer.avatar || ""}+ className="size-4 shrink-0 rounded-full border border-neutral-200"+ />+ <span className="truncate">{display}</span>+ </div>+ <ChartActivity2 className="size-3.5 shrink-0 transition-all group-hover:-translate-x-3 group-hover:opacity-0" />+ </Link>);}