Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Remove add credit card button for already pro users

Jakub Novak68b09922cca3
diff --git a/apps/docs/src/app/pricing/SwitchToProButton.tsx b/apps/docs/src/app/pricing/SwitchToProButton.tsx
index 8b5dd6d9e..0c9de76f4 100644
--- a/apps/docs/src/app/pricing/SwitchToProButton.tsx
+++ b/apps/docs/src/app/pricing/SwitchToProButton.tsx
@@ -80,14 +80,6 @@ function SwitchTierButton() {
Switch to Pro
</Button>
)}
-
- {(user.pricingTier.id === tiers.pro.id) && (
- <Button
- onClick={createCheckoutSession}
- >
- Add Credit Card
- </Button>
- )}
</div>
{error && (