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.

Use pages of 48 programs so the grid rows are full

Rafi4baa6d59c973
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/program-tabs.ts b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/program-tabs.ts
index 4ccddd6cf2..e227a7453c 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/program-tabs.ts
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/program-tabs.ts
@@ -68,7 +68,8 @@ export type ProgramTab = (typeof PROGRAM_TABS)[number];
export type ProgramTabId = ProgramTab["id"];
-export const PROGRAMS_PAGE_SIZE = 50;
+// divides by 2 and 3, so a full page fills every row of the grid
+export const PROGRAMS_PAGE_SIZE = 48;
// without a saved view, the page starts on the table for partners with more
// active programs than this