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.

small improvements

Steven Tey9ad6e7ef9587
diff --git a/apps/web/ui/partners/program-marketplace/programs-promo-card.tsx b/apps/web/ui/partners/program-marketplace/programs-promo-card.tsx
index 9687ce5289..5a92948a83 100644
--- a/apps/web/ui/partners/program-marketplace/programs-promo-card.tsx
+++ b/apps/web/ui/partners/program-marketplace/programs-promo-card.tsx
@@ -19,7 +19,7 @@ export function ProgramsPromoCard() {
return null;
}
- if (!partner.identityVerifiedAt && (payoutsCount[0].amount ?? 0) > 10000) {
+ if (!partner.identityVerifiedAt && (payoutsCount[0]?.amount ?? 0) > 10000) {
return <IdentityVerificationCard />;
}
diff --git a/packages/email/src/templates/partner-identity-verification-failed.tsx b/packages/email/src/templates/partner-identity-verification-failed.tsx
index 0e8443bae3..04a7f1d266 100644
--- a/packages/email/src/templates/partner-identity-verification-failed.tsx
+++ b/packages/email/src/templates/partner-identity-verification-failed.tsx
@@ -98,7 +98,7 @@ export default function PartnerIdentityVerificationFailed({
<>
Please{" "}
<Link
- href="https://partners.dub.co/profile/merge-accounts"
+ href="https://dub.co/help/article/merging-partner-accounts"
className="font-semibold text-neutral-700 underline underline-offset-2"
>
merge your accounts