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.

Show allowed domains for bounty URL submissions (#3386)

Marcus Farrell4adfbe857c10
diff --git a/apps/web/ui/partners/bounties/claim-bounty-modal.tsx b/apps/web/ui/partners/bounties/claim-bounty-modal.tsx
index 330f01ba5b..d9de8a5983 100644
--- a/apps/web/ui/partners/bounties/claim-bounty-modal.tsx
+++ b/apps/web/ui/partners/bounties/claim-bounty-modal.tsx
@@ -582,6 +582,16 @@ function ClaimBountyModalContent({ bounty }: ClaimBountyModalProps) {
}
/>
)}
+ {bounty.submissionRequirements?.url?.domains &&
+ bounty.submissionRequirements.url.domains.length >
+ 0 && (
+ <p className="text-xs text-neutral-400">
+ Allowed domains:{" "}
+ {bounty.submissionRequirements.url.domains.join(
+ ", ",
+ )}
+ </p>
+ )}
</div>
</div>
)}