Skip to content

Commit

Permalink
Reapply "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 6625c6f.
  • Loading branch information
markbiek committed May 10, 2024
1 parent 7c736a6 commit 231c72d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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 ) ?? false;
( data?.hideFreeMigrationTrialForNonVerifiedEmail as boolean | undefined ) ?? true;

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

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

Expand Down

0 comments on commit 231c72d

Please sign in to comment.