= ({
itemWidth={170}
className='inline-flex'
options={[
- { value: 'cloud', text: {t('billing.plansCommon.cloud')}
},
- { value: 'self', text: {t('billing.plansCommon.self')}
}]}
+ {
+ value: 'cloud',
+ text:
+ {t('billing.plansCommon.cloud')}
,
+ },
+ {
+ value: 'self',
+ text:
+ {t('billing.plansCommon.self')}
,
+ }]}
onChange={v => setCurrentPlan(v)} />
{currentPlan === 'cloud' && = ({
-
+
{t('billing.plansCommon.comparePlanAndFeatures')}
-
+
,
document.body,
)
diff --git a/web/app/components/billing/pricing/plan-item.tsx b/web/app/components/billing/pricing/plan-item.tsx
index 8c91eb9549..4ba320441b 100644
--- a/web/app/components/billing/pricing/plan-item.tsx
+++ b/web/app/components/billing/pricing/plan-item.tsx
@@ -36,7 +36,7 @@ const KeyValue = ({ icon, label, tooltip }: { icon: ReactNode; label: string; to
popupClassName='w-[200px]'
>
-
+
)}
diff --git a/web/app/components/billing/pricing/select-plan-range.tsx b/web/app/components/billing/pricing/select-plan-range.tsx
index 62b493d84d..07add5ea81 100644
--- a/web/app/components/billing/pricing/select-plan-range.tsx
+++ b/web/app/components/billing/pricing/select-plan-range.tsx
@@ -40,7 +40,7 @@ const SelectPlanRange: FC = ({
{t('billing.plansCommon.yearlyTip')}
-
{t('billing.plansCommon.annualBilling')}
+
{t('billing.plansCommon.annualBilling')}
{
onChange(v ? PlanRange.yearly : PlanRange.monthly)
}} />
diff --git a/web/app/components/billing/pricing/self-hosted-plan-item.tsx b/web/app/components/billing/pricing/self-hosted-plan-item.tsx
index ae225838c6..b057a5b82b 100644
--- a/web/app/components/billing/pricing/self-hosted-plan-item.tsx
+++ b/web/app/components/billing/pricing/self-hosted-plan-item.tsx
@@ -2,12 +2,12 @@
import type { FC, ReactNode } from 'react'
import React from 'react'
import { useTranslation } from 'react-i18next'
-import { RiArrowRightUpLine, RiAsterisk, RiBrain2Line, RiCheckLine, RiQuestionLine } from '@remixicon/react'
+import { RiArrowRightUpLine, RiBrain2Line, RiCheckLine, RiQuestionLine } from '@remixicon/react'
import { SelfHostedPlan } from '../type'
import { contactSalesUrl, getStartedWithCommunityUrl, getWithPremiumUrl } from '../config'
import Toast from '../../base/toast'
import Tooltip from '../../base/tooltip'
-import { AwsMarketplace, Azure, Buildings, Diamond, GoogleCloud } from '../../base/icons/src/public/billing'
+import { Asterisk, AwsMarketplace, Azure, Buildings, Diamond, GoogleCloud } from '../../base/icons/src/public/billing'
import type { PlanRange } from './select-plan-range'
import cn from '@/utils/classnames'
import { useAppContext } from '@/context/app-context'
@@ -42,7 +42,7 @@ const KeyValue = ({ label, tooltip, textColor, tooltipIconColor }: { icon: React
const style = {
[SelfHostedPlan.community]: {
- icon: ,
+ icon: ,
title: 'text-text-primary',
price: 'text-text-primary',
priceTip: 'text-text-tertiary',
@@ -142,7 +142,7 @@ const SelfHostedPlanItem: FC = ({
{t(`${i18nPrefix}.btnText`)}
{isPremiumPlan
&& <>
-