From b001e8e9938a350dcdbb513f1b5f11559f1e5bf0 Mon Sep 17 00:00:00 2001 From: Arhan Ansari Date: Sun, 29 Sep 2024 23:59:59 +0530 Subject: [PATCH] Update page.tsx --- app/plans/page.tsx | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/app/plans/page.tsx b/app/plans/page.tsx index 9f21b63..e7b8aa8 100644 --- a/app/plans/page.tsx +++ b/app/plans/page.tsx @@ -10,10 +10,7 @@ export default function PlansPage() { .then(async (body) => { const sessionId = body.sessionId; const stripe = await getStripe(); - - await stripe?.redirectToCheckout({ - sessionId, - }); + await stripe?.redirectToCheckout({ sessionId }); }); }; @@ -23,6 +20,7 @@ export default function PlansPage() {
+ {/* Free Plan */}

Free Plan

Up to 50 requests per month.

@@ -30,15 +28,14 @@ export default function PlansPage() {

Community support.

+ {/* Pro Plan */}

Pro Plan

500 requests per month.

@@ -46,15 +43,14 @@ export default function PlansPage() {

Priority email support.

+ {/* Enterprise Plan */}

Enterprise Plan

Unlimited requests.

@@ -62,10 +58,8 @@ export default function PlansPage() {

24/7 premium support.