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.

format

Kiran K5d783ff9e545
diff --git a/apps/web/app/app.dub.co/embed/inline/faq.tsx b/apps/web/app/app.dub.co/embed/inline/faq.tsx
index b6a98d6ed5..81f2128053 100644
--- a/apps/web/app/app.dub.co/embed/inline/faq.tsx
+++ b/apps/web/app/app.dub.co/embed/inline/faq.tsx
@@ -18,21 +18,18 @@ export function EmbedFAQ({
program: Program;
reward: RewardProp | null;
}) {
- const rewardDescription =
- reward
- ? `For each new customer you refer, you'll earn a ${constructRewardAmount(
- {
- amount: reward.amount,
- type: reward.type,
- },
- )} commission on their subscription${
- reward.maxDuration === null
- ? " for their lifetime"
- : reward.maxDuration && reward.maxDuration > 1
- ? ` for up to ${reward.maxDuration} months`
- : ""
- }. There are no limits to how much you can earn.`
- : "";
+ const rewardDescription = reward
+ ? `For each new customer you refer, you'll earn a ${constructRewardAmount({
+ amount: reward.amount,
+ type: reward.type,
+ })} commission on their subscription${
+ reward.maxDuration === null
+ ? " for their lifetime"
+ : reward.maxDuration && reward.maxDuration > 1
+ ? ` for up to ${reward.maxDuration} months`
+ : ""
+ }. There are no limits to how much you can earn.`
+ : "";
const items = [
{