1
0
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:
Brett Sun 2015-10-29 15:45:00 +01:00
parent 906ef7c37e
commit 864e0bd2a6

View File

@ -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()}