The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add back comments
Steven Teyce5d227cd2b5
diff --git a/packages/ui/src/table/table.tsx b/packages/ui/src/table/table.tsxindex 43e813faa5..228aa62274 100644--- a/packages/ui/src/table/table.tsx+++ b/packages/ui/src/table/table.tsx@@ -328,6 +328,7 @@ export function Table<T>({className={cn("group/row",onRowClick && "cursor-pointer select-none",+ // hacky fix: if there are more than 8 rows, remove the bottom border from the last rowtable.getRowModel().rows.length > 8 &&row.index === table.getRowModel().rows.length - 1 &&"[&_td]:border-b-0",@@ -335,6 +336,7 @@ export function Table<T>({onClick={onRowClick? (e) => {+ // Ignore if click is on an interactive childif (isClickOnInteractiveChild(e)) return;onRowClick(row, e);}