Skip to content

Commit

Permalink
Update experiment name (#90210)
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjan-uma-shankar authored May 2, 2024
1 parent 5a63af7 commit cbde43f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/controller/index.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ export const ProviderWrappedLayout = ( {
const userLoggedIn = isUserLoggedIn( state );

const [ isLoading, experimentAssignment ] = useExperiment(
'wpcom_plan_name_change_starter_to_beginner_v2'
'wpcom_plan_name_change_starter_to_beginner_v3'
);

useEffect( () => {
if ( ! isLoading ) {
setPlansListExperiment(
'wpcom_plan_name_change_starter_to_beginner_v2',
'wpcom_plan_name_change_starter_to_beginner_v3',
experimentAssignment?.variationName
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/calypso-products/src/plans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getPlansListExperiment } from './experiments';
*/

export const getPlanPersonalTitle = () =>
getPlansListExperiment( 'wpcom_plan_name_change_starter_to_beginner_v2' ) === 'treatment'
getPlansListExperiment( 'wpcom_plan_name_change_starter_to_beginner_v3' ) === 'treatment'
? // translators: Beginner is a plan name
i18n.translate( 'Beginner' )
: // translators: Starter is a plan name
Expand Down

0 comments on commit cbde43f

Please sign in to comment.