Some basic cleanup of the UserInfoPanel

This commit is contained in:
Eric Schultz 2018-05-22 15:15:30 -05:00
parent ab9e4f0e8a
commit aa7e3869a5

View file

@ -35,11 +35,8 @@ class UserInfoPanel extends React.Component<UserInfoPanelProps & InjectedIntlPro
} }
render() { render() {
let parentForm = this.form.container() || this.form.state.form
let submitting = parentForm.submitting
return <WizardPanel return <WizardPanel
tab={this.wizardTab} key={this.wizardTab.tabName} tab={this.wizardTab} key={this.tabName}
> >
<UserInfoForm form={this.form} buttonText={this.props.buttonText}/> <UserInfoForm form={this.form} buttonText={this.props.buttonText}/>