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