fix: change submit cta text for experiment (#1179)
This commit is contained in:
committed by
GitHub
parent
d6c5415c9a
commit
80435d3e5b
@@ -53,7 +53,7 @@ export const shouldDisplayFieldInExperiment = (fieldName, expVariation, register
|
||||
export const getRegisterButtonLabelInExperiment = (
|
||||
existingButtonLabel, expVariation, registerPageStep, formatMessage,
|
||||
) => {
|
||||
if (expVariation === SIMPLIFIED_REGISTRATION_VARIATION && registerPageStep === FIRST_STEP) {
|
||||
if (expVariation === SIMPLIFIED_REGISTRATION_VARIATION && registerPageStep === SECOND_STEP) {
|
||||
return formatMessage(messages['simplified.registration.exp.button']);
|
||||
}
|
||||
return existingButtonLabel;
|
||||
|
||||
@@ -204,7 +204,7 @@ const messages = defineMessages({
|
||||
// Simplify Registration experiment
|
||||
'simplified.registration.exp.button': {
|
||||
id: 'simplified.registration.exp.button',
|
||||
defaultMessage: 'Continue',
|
||||
defaultMessage: 'Complete account creation',
|
||||
description: 'Label text for simplified registration page second step',
|
||||
},
|
||||
'simplify.registration.username.guideline.content': {
|
||||
|
||||
Reference in New Issue
Block a user