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.

hide program email by status

Steven Tey85ded58565d6
diff --git a/apps/web/ui/partners/program-card.tsx b/apps/web/ui/partners/program-card.tsx
index e5f2d8cfaa..18a8c5f0f6 100644
--- a/apps/web/ui/partners/program-card.tsx
+++ b/apps/web/ui/partners/program-card.tsx
@@ -62,13 +62,17 @@ export function ProgramCard({
) : statusDescription ? (
<p>
{` ${statusDescription} `}
- <Link
- href={`/messages/${program.slug}`}
- className="text-neutral-400 underline decoration-dotted underline-offset-2 hover:text-neutral-700"
- >
- Reach out to the {program.name} team
- </Link>{" "}
- if you have any questions.
+ {status !== "rejected" && (
+ <>
+ <Link
+ href={`/messages/${program.slug}`}
+ className="text-neutral-400 underline decoration-dotted underline-offset-2 hover:text-neutral-700"
+ >
+ Reach out to the {program.name} team
+ </Link>{" "}
+ if you have any questions.
+ </>
+ )}
</p>
) : null}
</div>