Skip to content

Commit 80435d3

Browse files
fix: change submit cta text for experiment (#1179)
1 parent d6c5415 commit 80435d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/register/data/optimizelyExperiment/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const shouldDisplayFieldInExperiment = (fieldName, expVariation, register
5353
export const getRegisterButtonLabelInExperiment = (
5454
existingButtonLabel, expVariation, registerPageStep, formatMessage,
5555
) => {
56-
if (expVariation === SIMPLIFIED_REGISTRATION_VARIATION && registerPageStep === FIRST_STEP) {
56+
if (expVariation === SIMPLIFIED_REGISTRATION_VARIATION && registerPageStep === SECOND_STEP) {
5757
return formatMessage(messages['simplified.registration.exp.button']);
5858
}
5959
return existingButtonLabel;

src/register/messages.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const messages = defineMessages({
204204
// Simplify Registration experiment
205205
'simplified.registration.exp.button': {
206206
id: 'simplified.registration.exp.button',
207-
defaultMessage: 'Continue',
207+
defaultMessage: 'Complete account creation',
208208
description: 'Label text for simplified registration page second step',
209209
},
210210
'simplify.registration.username.guideline.content': {

0 commit comments

Comments
 (0)