fix: ref subscription url

This commit is contained in:
Денис Катаев 2023-12-19 04:00:53 +00:00 committed by Victor Ershov
parent 8d89b5067b
commit d9d8d54dba

View File

@ -63,7 +63,7 @@ function SubscriptionPage(): JSX.Element {
(sub_plan) =>
String(
sub_plan?.trial?.price_cents
? Math.floor(sub_plan?.trial?.price_cents / 100)
? Math.floor((sub_plan?.trial?.price_cents + 1) / 100)
: sub_plan.id.replace(".", "")
) === subPlan
);