The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Show placeholder when identity sync preview has no name (#4179)
Pedro Ladeira774fc9579b82
diff --git a/apps/web/ui/modals/identity-sync-confirm-modal.tsx b/apps/web/ui/modals/identity-sync-confirm-modal.tsxindex b00aef1677..2f8cbb5728 100644--- a/apps/web/ui/modals/identity-sync-confirm-modal.tsx+++ b/apps/web/ui/modals/identity-sync-confirm-modal.tsx@@ -50,21 +50,23 @@ function IdentitySyncPreviewRow({/>)}<div>- {showName && snapshot.name && (+ {showName && (<divclassName={- isNameContextOnly- ? "text-[14px] font-semibold leading-4 text-neutral-900 opacity-50"- : "text-[14px] font-semibold leading-4 text-neutral-900"+ snapshot.name+ ? isNameContextOnly+ ? "text-[14px] font-semibold leading-4 text-neutral-900 opacity-50"+ : "text-[14px] font-semibold leading-4 text-neutral-900"+ : "text-[14px] font-medium leading-4 text-neutral-500"}>- {snapshot.name}+ {snapshot.name || "No name set"}</div>)}{showEmail && snapshot.email && (<divclassName={- showName && snapshot.name+ showName? "mt-1 text-sm font-medium leading-5 text-neutral-500": "text-sm font-medium leading-5 text-neutral-900"}