* replace spaces for underscores in edit custom fields * Create function getCustomFieldParamName * Improved the render in MainSignUpWidget
This commit is contained in:
parent
843bd13281
commit
38c6295a7b
|
@ -26,7 +26,7 @@ class MainSignUpWidget extends React.Component {
|
|||
this.state = {
|
||||
loading: false,
|
||||
email: null,
|
||||
customFields: []
|
||||
customFields: null
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@ class MainSignUpWidget extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
if(!this.state.customFields) return null;
|
||||
return (
|
||||
<Widget className={this.getClass()}>
|
||||
<Header title={i18n('SIGN_UP')} description={i18n('SIGN_UP_VIEW_DESCRIPTION')} />
|
||||
|
|
Loading…
Reference in New Issue