aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-05-16 14:12:47 +0800
committerGitHub <noreply@github.com>2017-05-16 14:12:47 +0800
commitd5636080cf48fef8381a01006d4a3156a6b62aba (patch)
treea09275797af146866cb26ad7c299ded78b5b95bf
parent6abdec608efadb99be96be498a7c706ec8503342 (diff)
downloadtangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar.gz
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar.bz2
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar.lz
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar.xz
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.tar.zst
tangerine-wallet-browser-d5636080cf48fef8381a01006d4a3156a6b62aba.zip
ui - send - clean props assignment
-rw-r--r--ui/app/send.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/ui/app/send.js b/ui/app/send.js
index d73744f70..6cfe909e6 100644
--- a/ui/app/send.js
+++ b/ui/app/send.js
@@ -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 (