The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Hide rewards if no rewards and no discount
Ian MacCallumf0a696a9665b
diff --git a/apps/web/ui/partners/lander/lander-rewards.tsx b/apps/web/ui/partners/lander/lander-rewards.tsxindex 79a4b60dfc..99cdee57e0 100644--- a/apps/web/ui/partners/lander/lander-rewards.tsx+++ b/apps/web/ui/partners/lander/lander-rewards.tsx@@ -10,6 +10,10 @@ export function LanderRewards({discount: DiscountProps | null;className?: string;}) {+ if (!rewards.length && !discount) {+ return null;+ }+return (<div className={className}><h2 className="mb-2 text-base font-semibold text-neutral-800">Rewards</h2>