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 events-table.tsx

Steven Tey02d705c4f624
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 78f13f25d8..14a598f866 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -439,11 +439,9 @@ export default function EventsTable({
.map((col) => ({
...col,
enableResizing: true,
- size:
- col.size ||
- (col.id === "menu" ? 43 : Math.max(200, col.minSize || 100)),
- minSize: col.minSize || (col.id === "menu" ? 43 : 100),
- maxSize: col.maxSize || (col.id === "menu" ? 43 : 1000),
+ size: col.size || Math.max(200, col.minSize || 100),
+ minSize: col.minSize || 100,
+ maxSize: col.maxSize || 1000,
})),
[tab],
);