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-payout-failed.tsx

Kiran Kd1eaa1d36f77
diff --git a/packages/email/src/templates/partner-payout-failed.tsx b/packages/email/src/templates/partner-payout-failed.tsx
index 0b03d16798..2fe23f0395 100644
--- a/packages/email/src/templates/partner-payout-failed.tsx
+++ b/packages/email/src/templates/partner-payout-failed.tsx
@@ -81,12 +81,16 @@ export default function PartnerPayoutFailed({
<span className="font-semibold text-neutral-800">
${payout.failureFee / 100} payment failure fee
</span>
- {payout.cardLast4 &&
- ` to your card ending in ${(
+ {payout.cardLast4 && (
+ <>
+ {" "}
+ to your card ending in{" "}
<span className="font-semibold text-purple-600">
{payout.cardLast4}
</span>
- )}.`}
+ </>
+ )}
+ .
</Text>
)}