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 partner-info-cards.tsx

Steven Tey2abce7479b5f
diff --git a/apps/web/ui/partners/partner-info-cards.tsx b/apps/web/ui/partners/partner-info-cards.tsx
index d704d9178f..4fa268158c 100644
--- a/apps/web/ui/partners/partner-info-cards.tsx
+++ b/apps/web/ui/partners/partner-info-cards.tsx
@@ -246,12 +246,16 @@ export function PartnerInfoCards({
<div className="border-border-subtle flex flex-col gap-4 rounded-xl border p-4">
<h2 className="text-content-emphasis text-sm font-semibold">
- Organization
+ {isEnrolled ? "Organization" : "Invite group"}
</h2>
{/* Group */}
<div className="flex flex-col gap-2">
- <h3 className="text-content-emphasis text-xs font-semibold">Group</h3>
+ {isEnrolled && (
+ <h3 className="text-content-emphasis text-xs font-semibold">
+ Group
+ </h3>
+ )}
{partner ? (
<PartnerInfoGroup
partner={partner}