mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
Fix const assignment.
Sorry, my bad!
This commit is contained in:
parent
36254c5abb
commit
642dc0f788
1 changed files with 2 additions and 1 deletions
|
@ -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>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue