Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix(plan): correct savings
Marc Seitzd4b2a6fabac8
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsxindex fae0c22d..c92deafe 100644--- a/components/billing/upgrade-plan-modal.tsx+++ b/components/billing/upgrade-plan-modal.tsx@@ -190,7 +190,11 @@ export function UpgradePlanModal({}}className="text-xs text-muted-foreground underline underline-offset-4 transition-colors hover:text-gray-800 hover:dark:text-muted-foreground/80">- {period === "monthly" ? "Want 35% off?" : "Switch to monthly"}+ {period === "monthly"+ ? ["Business", "Data Rooms"].includes(plan)+ ? "Want 25% off?"+ : "Want 35% off?"+ : "Switch to monthly"}</button></div><motion.div