The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
improve style
Steven Tey80d90dd96e4a
diff --git a/apps/web/app/api/customers/[id]/activity/route.ts b/apps/web/app/api/customers/[id]/activity/route.tsindex 0c65c0e1eb..af85a907e9 100644--- a/apps/web/app/api/customers/[id]/activity/route.ts+++ b/apps/web/app/api/customers/[id]/activity/route.ts@@ -6,7 +6,7 @@ import { customerActivityResponseSchema } from "@/lib/zod/schemas/customers";import { prisma } from "@dub/prisma";import { NextResponse } from "next/server";-// GET /api/customers/[id]/activities - get a customer's activity+// GET /api/customers/[id]/activity - get a customer's activityexport const GET = withWorkspace(async ({ workspace, params }) => {const { id: customerId } = params;diff --git a/apps/web/ui/analytics/events/customer-row-item.tsx b/apps/web/ui/analytics/events/customer-row-item.tsxindex 3190f8cd2b..b5e92f3b50 100644--- a/apps/web/ui/analytics/events/customer-row-item.tsx+++ b/apps/web/ui/analytics/events/customer-row-item.tsx@@ -15,14 +15,14 @@ export function CustomerRowItem({ customer }: { customer: Customer }) {<>{customerDetailsSheet}<button- className="flex w-full items-center justify-between transition-colors hover:bg-stone-100"+ className="flex w-full items-center justify-between px-4 py-2.5 transition-colors hover:bg-stone-100"onClick={() => setShowCustomerDetailsSheet(true)}><div className="flex items-center gap-3" title={display}><imgalt={display}src={customer.avatar || ""}- className="size-4 shrink-0 rounded-full border border-neutral-200"+ className="size-4 shrink-0 rounded-full border border-gray-200"/><span className="truncate">{display}</span></div>diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsxindex ccebe3d5a4..f738a76fce 100644--- a/apps/web/ui/analytics/events/events-table.tsx+++ b/apps/web/ui/analytics/events/events-table.tsx@@ -495,6 +495,7 @@ export default function EventsTable({meta?.filterParams && <FilterButton set={meta.filterParams(cell)} />);},+ tdClassName: (columnId) => (columnId === "customer" ? "p-0" : ""),emptyState: (<EmptyStateicon={Magnifier}