From 4c8fd311f027f6cfef1bbf1540aa8259583233de Mon Sep 17 00:00:00 2001 From: Benjamin Shafii Date: Fri, 8 Nov 2024 14:53:42 +0100 Subject: [PATCH] fix: ts --- web/app/dashboard/onboarding/page.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/web/app/dashboard/onboarding/page.tsx b/web/app/dashboard/onboarding/page.tsx index 8280ca29..8b5cd80b 100644 --- a/web/app/dashboard/onboarding/page.tsx +++ b/web/app/dashboard/onboarding/page.tsx @@ -22,11 +22,11 @@ export default function OnboardingPage() { const handlePlanSelection = (planKey: string) => { switch (planKey) { case "Monthly": - return createSubscriptionCheckout(planKey); + return createSubscriptionCheckout(); case "Yearly": - return createYearlySubscriptionCheckout(planKey); + return createYearlySubscriptionCheckout(); case "Lifetime": - return createOneTimePaymentCheckout(planKey); + return createOneTimePaymentCheckout(); } }; @@ -172,11 +172,14 @@ export default function OnboardingPage() {