Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Remove "View Details" button from PaidPlan component

Bill Yang14cbf129a46f
diff --git a/client/src/components/subscription/PaidPlain/PaidPlan.tsx b/client/src/components/subscription/PaidPlain/PaidPlan.tsx
index 61890e897..5368c12e5 100644
--- a/client/src/components/subscription/PaidPlain/PaidPlan.tsx
+++ b/client/src/components/subscription/PaidPlain/PaidPlan.tsx
@@ -88,7 +88,6 @@ export function PaidPlan() {
};
const handleChangePlan = () => setShowPlanDialog(true);
- const handleViewSubscription = () => createPortalSession();
const handleCancelSubscription = () => createPortalSession("subscription_cancel");
const getFormattedPrice = () => {
@@ -145,9 +144,6 @@ export function PaidPlan() {
<Button variant="success" onClick={handleChangePlan}>
Change Plan
</Button>
- <Button variant="outline" onClick={handleViewSubscription} disabled={isProcessing}>
- View Details
- </Button>
</div>
</div>