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.

MAX_PROGRAM_CATEGORIES

Steven Tey6fc9771013c8
diff --git a/apps/web/lib/constants/program.ts b/apps/web/lib/constants/program.ts
index 9bf4a6ae62..c5bb2dda70 100644
--- a/apps/web/lib/constants/program.ts
+++ b/apps/web/lib/constants/program.ts
@@ -1,4 +1,5 @@
export const PROGRAM_ONBOARDING_PARTNERS_LIMIT = 5;
+export const MAX_PROGRAM_CATEGORIES = 3;
export const LARGE_PROGRAM_IDS = [
"prog_CYCu7IMAapjkRpTnr8F1azjN",
"prog_1K0QHV7MP3PR05CJSCF5VN93X",
diff --git a/apps/web/ui/partners/program-category-select.tsx b/apps/web/ui/partners/program-category-select.tsx
index d5acea6754..34df5cb34c 100644
--- a/apps/web/ui/partners/program-category-select.tsx
+++ b/apps/web/ui/partners/program-category-select.tsx
@@ -1,5 +1,5 @@
+import { MAX_PROGRAM_CATEGORIES } from "@/lib/constants/program";
import { categories, categoriesMap } from "@/lib/partners/categories";
-import { MAX_PROGRAM_CATEGORIES } from "@/lib/zod/schemas/programs";
import { Combobox, ComboboxProps } from "@dub/ui";
import { Category } from "@prisma/client";