The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Fix the customers table (#3373)
Kiran Kc9e8fe980af2
diff --git a/apps/web/ui/customers/customer-table/customer-table.tsx b/apps/web/ui/customers/customer-table/customer-table.tsxindex ab18726e9d..52f4f9f1d0 100644--- a/apps/web/ui/customers/customer-table/customer-table.tsx+++ b/apps/web/ui/customers/customer-table/customer-table.tsx@@ -194,9 +194,12 @@ export function CustomerTable({id: "partner",header: "Partner",meta: {- filterParams: ({ row }) => ({- partnerId: row.original.partner.id,- }),+ filterParams: ({ row }) =>+ row.original.partner?.id+ ? {+ partnerId: row.original.partner.id,+ }+ : undefined,},cell: ({ row }) =>row.original.partner ? (