Skip to content

Commit

Permalink
Revert "Default to hiding the migration trial from unverified users (#…
Browse files Browse the repository at this point in the history
…90589)" (#90595)

This reverts commit 3675edb.
  • Loading branch information
markbiek authored May 10, 2024
1 parent 1530a0e commit 6625c6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SiteMigrationUpgradePlan: Step = function ( { navigation, data } ) {
const translate = useTranslate();
const queryParams = useQuery();
const hideFreeMigrationTrialForNonVerifiedEmail =
( data?.hideFreeMigrationTrialForNonVerifiedEmail as boolean | undefined ) ?? true;
( data?.hideFreeMigrationTrialForNonVerifiedEmail as boolean | undefined ) ?? false;

const selectedPlanData = useSelectedPlanUpgradeQuery();
const selectedPlanPathSlug = selectedPlanData.data;
Expand Down
6 changes: 5 additions & 1 deletion client/landing/stepper/declarative-flow/migration-signup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ const migrationSignup: Flow = {
}

return navigate(
addQueryArgs( { from: from, siteSlug, siteId }, STEPS.SITE_MIGRATION_UPGRADE_PLAN.slug )
addQueryArgs(
{ from: from, siteSlug, siteId },
STEPS.SITE_MIGRATION_UPGRADE_PLAN.slug
),
{ hideFreeMigrationTrialForNonVerifiedEmail: true }
);
}

Expand Down

0 comments on commit 6625c6f

Please sign in to comment.