mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-03-29 11:12:19 +01:00
fix pricing page docs url
This commit is contained in:
parent
48f8c5ce73
commit
702c133aaa
@ -4,7 +4,7 @@
|
||||
import { cn } from '../client/cn';
|
||||
|
||||
const bestDealPaymentPlanId: PaymentPlanId = PaymentPlanId.Pro;
|
||||
+const PaymentsDocsURL = 'https://docs.opensaas.sh/payments-integration';
|
||||
+const PaymentsDocsURL = 'https://docs.opensaas.sh/guides/payments-integration/';
|
||||
|
||||
interface PaymentPlanCard {
|
||||
name: string;
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- template/app/src/user/AccountPage.tsx
|
||||
+++ opensaas-sh/app/src/user/AccountPage.tsx
|
||||
@@ -33,7 +33,6 @@
|
||||
subscriptionPlan={user.subscriptionPlan}
|
||||
datePaid={user.datePaid}
|
||||
credits={user.credits}
|
||||
- lemonSqueezyCustomerPortalUrl={user.lemonSqueezyCustomerPortalUrl}
|
||||
/>
|
||||
</div>
|
||||
<div className='py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6'>
|
||||
@@ -60,10 +59,9 @@
|
||||
subscriptionStatus: SubscriptionStatus | null;
|
||||
datePaid: Date | null;
|
||||
credits: number;
|
||||
- lemonSqueezyCustomerPortalUrl: string | null;
|
||||
};
|
||||
|
||||
-function UserCurrentPaymentPlan({ subscriptionPlan, subscriptionStatus, datePaid, credits, lemonSqueezyCustomerPortalUrl }: UserCurrentPaymentPlanProps) {
|
||||
+function UserCurrentPaymentPlan({ subscriptionPlan, subscriptionStatus, datePaid, credits }: UserCurrentPaymentPlanProps) {
|
||||
if (subscriptionStatus && subscriptionPlan && datePaid) {
|
||||
return (
|
||||
<>
|
@ -3,7 +3,6 @@ import { type SubscriptionStatus, prettyPaymentPlanName, parsePaymentPlanId } fr
|
||||
import { getCustomerPortalUrl, useQuery } from 'wasp/client/operations';
|
||||
import { Link } from 'wasp/client/router';
|
||||
import { logout } from 'wasp/client/auth';
|
||||
import { z } from 'zod';
|
||||
|
||||
export default function AccountPage({ user }: { user: User }) {
|
||||
return (
|
||||
@ -33,7 +32,6 @@ export default function AccountPage({ user }: { user: User }) {
|
||||
subscriptionPlan={user.subscriptionPlan}
|
||||
datePaid={user.datePaid}
|
||||
credits={user.credits}
|
||||
lemonSqueezyCustomerPortalUrl={user.lemonSqueezyCustomerPortalUrl}
|
||||
/>
|
||||
</div>
|
||||
<div className='py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6'>
|
||||
@ -60,10 +58,9 @@ type UserCurrentPaymentPlanProps = {
|
||||
subscriptionStatus: SubscriptionStatus | null;
|
||||
datePaid: Date | null;
|
||||
credits: number;
|
||||
lemonSqueezyCustomerPortalUrl: string | null;
|
||||
};
|
||||
|
||||
function UserCurrentPaymentPlan({ subscriptionPlan, subscriptionStatus, datePaid, credits, lemonSqueezyCustomerPortalUrl }: UserCurrentPaymentPlanProps) {
|
||||
function UserCurrentPaymentPlan({ subscriptionPlan, subscriptionStatus, datePaid, credits }: UserCurrentPaymentPlanProps) {
|
||||
if (subscriptionStatus && subscriptionPlan && datePaid) {
|
||||
return (
|
||||
<>
|
||||
|
Loading…
x
Reference in New Issue
Block a user