mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Remove redundant truth check for required prop
This commit is contained in:
parent
906ef7c37e
commit
864e0bd2a6
@ -285,7 +285,7 @@ let LoanForm = React.createClass({
|
||||
rows={1}
|
||||
defaultValue={this.props.message}
|
||||
placeholder={getLangText('Enter a message...')}
|
||||
required={this.props.showPersonalMessage ? true : false}/>
|
||||
required={this.props.showPersonalMessage}/>
|
||||
</Property>
|
||||
{this.getContractCheckbox()}
|
||||
{this.getAppendix()}
|
||||
|
Loading…
Reference in New Issue
Block a user