mirror of
https://github.com/vale981/Vulcan
synced 2025-03-04 17:21:37 -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',
|
||||
onChange,
|
||||
required = false,
|
||||
className = 'field',
|
||||
defaultValue = '',
|
||||
message,
|
||||
} = this.props;
|
||||
let { className = 'field' } = this.state;
|
||||
|
||||
const { mount = true } = this.state;
|
||||
if (type == 'notice') {
|
||||
return <div className={ className }>{ label }</div>;
|
||||
|
|
Loading…
Add table
Reference in a new issue