ui - send - clean props assignment

This commit is contained in:
kumavis 2017-05-15 23:12:47 -07:00 committed by GitHub
parent 6abdec608e
commit d5636080cf
1 changed files with 10 additions and 8 deletions

View File

@ -41,14 +41,16 @@ function SendTransactionScreen () {
SendTransactionScreen.prototype.render = function () {
this.persistentFormParentId = 'send-tx-form'
var props = this.props
var address = props.address
var account = props.account
var identity = props.identity
var network = props.network
var identities = props.identities
var addressBook = props.addressBook
var conversionRate = props.conversionRate
const props = this.props
const {
address,
account,
identity,
network,
identities,
addressBook,
conversionRate
} = props
return (