diff --git a/app/plans/page.tsx b/app/plans/page.tsx index a9c4119..059f4ab 100644 --- a/app/plans/page.tsx +++ b/app/plans/page.tsx @@ -5,7 +5,7 @@ import SEO from "@/components/SEO"; // Import the SEO component // Define the type for userPlan prop and make it optional interface PlansPageProps { - userPlan?: string; // Mark it as optional + userPlan?: string; // Optional prop } export default function PlansPage({ userPlan = "free" }: PlansPageProps) { // Default to "free" if not provided @@ -19,20 +19,19 @@ export default function PlansPage({ userPlan = "free" }: PlansPageProps) { // De }); }; - const isCurrentPlan = (plan: string) => userPlan === plan; + const isCurrentPlan = (plan: string) => userPlan === plan; // Helper function to check if the plan is active return (
{/* Add SEO Component */} - +
{/* Free Plan */}

Free Plan

Up to 50 requests per month.

@@ -53,7 +52,9 @@ export default function PlansPage({ userPlan = "free" }: PlansPageProps) { // De {/* Pro Plan */}

Pro Plan

500 requests per month.

@@ -74,7 +75,9 @@ export default function PlansPage({ userPlan = "free" }: PlansPageProps) { // De {/* Enterprise Plan */}

Enterprise Plan

Unlimited requests.