Fix const assignment.

Sorry, 
my bad!
This commit is contained in:
Valentin Boettcher 2019-03-03 16:30:25 +01:00 committed by GitHub
parent 36254c5abb
commit 642dc0f788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,10 +49,11 @@ export class AccountsField extends PureComponent {
type = 'text', type = 'text',
onChange, onChange,
required = false, required = false,
className = 'field',
defaultValue = '', defaultValue = '',
message, message,
} = this.props; } = this.props;
let { className = 'field' } = this.state;
const { mount = true } = this.state; const { mount = true } = this.state;
if (type == 'notice') { if (type == 'notice') {
return <div className={ className }>{ label }</div>; return <div className={ className }>{ label }</div>;