mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-29 13:46:50 +03:00
chore(core): always display annually for cloud toggle (#8693)
This commit is contained in:
parent
de7b1ff516
commit
5b5dc26abf
@ -279,17 +279,9 @@ export const CloudPlans = () => {
|
|||||||
const cloudToggle = (
|
const cloudToggle = (
|
||||||
<div className={styles.recurringToggleWrapper}>
|
<div className={styles.recurringToggleWrapper}>
|
||||||
<div>
|
<div>
|
||||||
{recurring === SubscriptionRecurring.Yearly ? (
|
|
||||||
<div className={styles.recurringToggleRecurring}>
|
|
||||||
{t['com.affine.payment.cloud.pricing-plan.toggle-yearly']()}
|
|
||||||
</div>
|
|
||||||
) : (
|
|
||||||
<>
|
|
||||||
<div className={styles.recurringToggleRecurring}>
|
<div className={styles.recurringToggleRecurring}>
|
||||||
<span>
|
<span>
|
||||||
{t[
|
{t['com.affine.payment.cloud.pricing-plan.toggle-billed-yearly']()}
|
||||||
'com.affine.payment.cloud.pricing-plan.toggle-billed-yearly'
|
|
||||||
]()}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{yearlyDiscount ? (
|
{yearlyDiscount ? (
|
||||||
@ -299,8 +291,6 @@ export const CloudPlans = () => {
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<Switch
|
<Switch
|
||||||
checked={recurring === SubscriptionRecurring.Yearly}
|
checked={recurring === SubscriptionRecurring.Yearly}
|
||||||
|
Loading…
Reference in New Issue
Block a user