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 program-reward-description.tsx

Kiran K7b12c37409ca
diff --git a/apps/web/ui/partners/program-reward-description.tsx b/apps/web/ui/partners/program-reward-description.tsx
index c437047393..026a18dd6e 100644
--- a/apps/web/ui/partners/program-reward-description.tsx
+++ b/apps/web/ui/partners/program-reward-description.tsx
@@ -84,7 +84,7 @@ export function ProgramRewardDescription({
export function formatRewardDescription({
reward,
}: {
- reward: RewardProps;
+ reward: Pick<RewardProps, "amount" | "type" | "event" | "maxDuration">;
}): string {
const rewardAmount = constructRewardAmount(reward);
const parts: string[] = [];