diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx index ce82b5b83b..146f982470 100644 --- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx +++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx @@ -44,7 +44,7 @@ export const BillingSettings = () => { /> {/* TODO: loading fallback */} - + diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/index.tsx index 9e488fd4a4..0c1e7af33b 100644 --- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/index.tsx +++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/index.tsx @@ -144,12 +144,18 @@ const Settings = () => { - You are current on the {currentPlan} plan. If you have any - questions, please contact our{' '} - {/*TODO: add action*/}customer support. -

+ loggedIn ? ( +

+ You are current on the {currentPlan} plan. If you have any + questions, please contact our{' '} + {/*TODO: add action*/}customer support. +

+ ) : ( +

+ This is the Pricing plans of AFFiNE Cloud. You can sign up or sign + in to your account first. +

+ ) } />
@@ -193,15 +199,21 @@ const Settings = () => { )}

- - $ - {detail.type === 'dynamic' - ? '?' - : recurring === SubscriptionRecurring.Monthly - ? detail.price - : detail.yearlyPrice} - - per month + {detail.type === 'dynamic' ? ( + + Coming soon... + + ) : ( + <> + + $ + {recurring === SubscriptionRecurring.Monthly + ? detail.price + : detail.yearlyPrice} + + per month + + )}

{ // branches: