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.

fix types

Steven Teyc2ee54d8d52c
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/program-sidebar.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/program-sidebar.tsx
index 87ae65974d..a126347a0e 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/program-sidebar.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/apply/program-sidebar.tsx
@@ -19,7 +19,18 @@ export function ProgramSidebar({
applicationRewards,
applicationDiscount,
}: {
- program: ProgramProps;
+ program: Pick<
+ ProgramProps,
+ | "id"
+ | "slug"
+ | "defaultGroupId"
+ | "name"
+ | "domain"
+ | "logo"
+ | "termsUrl"
+ | "rewards"
+ | "discounts"
+ >;
applicationRewards: RewardProps[];
applicationDiscount: DiscountProps | null;
}) {