Always display per month period because the pricing is displayed per month even if the period is yearly (#169)
This commit is contained in:
committed by
GitHub
parent
0478a6428d
commit
227be11b8b
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user