fix: fix register button loader for control
This commit is contained in:
committed by
mubbsharanwar
parent
4f48e82959
commit
788a42b341
@@ -85,7 +85,8 @@ export const getRegisterButtonClassInExperiment = (expVariation, registerPageSte
|
||||
export const getRegisterButtonSubmitStateInExperiment = (
|
||||
registerSubmitState, validationsSubmitState, expVariation, registerPageStep,
|
||||
) => {
|
||||
if (expVariation === MULTI_STEP_REGISTRATION_EXP_VARIATION && registerPageStep !== THIRD_STEP) {
|
||||
if ((expVariation === MULTI_STEP_REGISTRATION_EXP_VARIATION && registerPageStep !== THIRD_STEP)
|
||||
|| (expVariation === CONTROL && registerPageStep !== SECOND_STEP)) {
|
||||
return validationsSubmitState;
|
||||
}
|
||||
return registerSubmitState;
|
||||
|
||||
Reference in New Issue
Block a user