diff --git a/internal_packages/onboarding/lib/decorators/create-page-for-form.jsx b/internal_packages/onboarding/lib/decorators/create-page-for-form.jsx index 46f776fc4..25d0401ae 100644 --- a/internal_packages/onboarding/lib/decorators/create-page-for-form.jsx +++ b/internal_packages/onboarding/lib/decorators/create-page-for-form.jsx @@ -150,6 +150,8 @@ const CreatePageForForm = (FormComponent) => { throw new Error(`Cannot find account type ${accountInfo.type}`); } + const hideTitle = errorMessage && errorMessage.length > 120; + return (
@@ -160,9 +162,7 @@ const CreatePageForForm = (FormComponent) => { className="logo" />
-

- {FormComponent.titleLabel(AccountType)} -

+ {hideTitle ?
:

{FormComponent.titleLabel(AccountType)}

}