Skip to content

Commit

Permalink
Hide calculations on enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
djfarrelly committed Dec 9, 2024
1 parent 015e8de commit 77ad46c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app/pricing/PricingCalculator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,15 @@ export default function PricingCalculator({ plans }: { plans: Plan[] }) {
</p>
<p>
Estimated cost:{" "}
{results.cost.totalCost === Infinity
? "Custom"
: `$${results.cost.totalCost}/mo.`}
<strong>
{results.cost.totalCost === Infinity
? "Custom"
: `$${results.cost.totalCost}/mo.`}
</strong>
</p>
<Calculations cost={results.cost} />
{results.cost.totalCost !== Infinity && (
<Calculations cost={results.cost} />
)}
</div>
</div>
</div>
Expand Down

0 comments on commit 77ad46c

Please sign in to comment.