The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove isMaxPlan
Steven Teya048ff7950e9
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/plan-usage.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/plan-usage.tsxindex d288182192..8a42e62523 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/plan-usage.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/plan-usage.tsx@@ -84,8 +84,6 @@ export default function PlanUsage() {return [];}, [billingCycleStart]);- const isMaxPlan = plan && ["business max", "advanced"].includes(plan);-return (<div className="rounded-lg border border-neutral-200 bg-white"><div className="flex flex-col items-start justify-between gap-y-4 p-6 md:px-8 lg:flex-row">@@ -105,12 +103,7 @@ export default function PlanUsage() {<div className="flex items-center gap-2">{plan !== "enterprise" && (<Link- href={- isMaxPlan- ? "https://dub.co/contact"- : `/${slug}/settings/billing/upgrade`- }- target={isMaxPlan ? "_blank" : undefined}+ href={`/${slug}/settings/billing/upgrade`}className={cn(buttonVariants({ variant: "primary" }),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-md border px-4 text-sm",