Always display per month period because the pricing is displayed per month even if the period is yearly (#169)

This commit is contained in:
Giancarlo Buomprisco
2025-02-18 10:07:17 +07:00
committed by GitHub
parent 0478a6428d
commit 227be11b8b

View File

@@ -91,6 +91,7 @@ export function PlanPicker(
name: 'interval',
control: form.control,
});
const planId = form.getValues('planId');
const { plan: selectedPlan, product: selectedProduct } = useMemo(() => {
@@ -339,12 +340,7 @@ export function PlanPicker(
<Trans i18nKey={`billing:lifetime`} />
}
>
<Trans
i18nKey={`billing:perPeriod`}
values={{
period: selectedInterval,
}}
/>
<Trans i18nKey={`billing:perMonth`} />
</If>
</span>
</div>