fix: remove double image key, filter subscription plans
This commit is contained in:
parent
d11a52a9aa
commit
4deed550cd
@ -40,11 +40,6 @@ function QuestionnaireIntermediatePage() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<object type="image/svg+xml" data={StaryKey}>svg-animation</object>
|
<object type="image/svg+xml" data={StaryKey}>svg-animation</object>
|
||||||
<img
|
|
||||||
src="/starry_key.svg"
|
|
||||||
alt="The starry key"
|
|
||||||
style={{ minHeight: "138px" }}
|
|
||||||
/>
|
|
||||||
<div>
|
<div>
|
||||||
{path && (
|
{path && (
|
||||||
<Title variant="h1" className={styles.title}>
|
<Title variant="h1" className={styles.title}>
|
||||||
|
|||||||
@ -39,7 +39,7 @@ function TrialChoicePage() {
|
|||||||
plansKeys[plan.name] = plansKeys[plan.name]
|
plansKeys[plan.name] = plansKeys[plan.name]
|
||||||
? plansKeys[plan.name] + 1
|
? plansKeys[plan.name] + 1
|
||||||
: 1;
|
: 1;
|
||||||
if (plansKeys[plan.name] > 1 && !plan.trial?.is_free) {
|
if (plansKeys[plan.name] > 1 && !plan.trial?.is_free && !!plan.trial) {
|
||||||
const targetPlan = plansWithoutTest.find(
|
const targetPlan = plansWithoutTest.find(
|
||||||
(item) => item.name === plan.name && item.id.includes("stripe")
|
(item) => item.name === plan.name && item.id.includes("stripe")
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user