aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-05-19 04:41:08 +0800
committerkumavis <aaron@kumavis.me>2016-05-19 04:41:08 +0800
commit6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5 (patch)
tree59c931ca7b791f9ee2d55133a9fd4db629327afe /ui/app/send.js
parent877648623e0b483d05291379b17d5a6646375b34 (diff)
downloadtangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar.gz
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar.bz2
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar.lz
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar.xz
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.tar.zst
tangerine-wallet-browser-6ae0a90d7b9ee3bfca359c1291efe86c5142c7b5.zip
ui - redesign - ether amount component
Diffstat (limited to 'ui/app/send.js')
-rw-r--r--ui/app/send.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/send.js b/ui/app/send.js
index 56b23ee24..1442db8cc 100644
--- a/ui/app/send.js
+++ b/ui/app/send.js
@@ -8,7 +8,7 @@ const util = require('./util')
const numericBalance = require('./util').numericBalance
const formatBalance = require('./util').formatBalance
const addressSummary = require('./util').addressSummary
-const AccountPanel = require('./components/account-panel')
+const EtherBalance = require('./components/eth-balance')
const ethUtil = require('ethereumjs-util')
module.exports = connect(mapStateToProps)(SendTransactionScreen)
@@ -106,7 +106,10 @@ SendTransactionScreen.prototype.render = function() {
// balance
h('.flex-row.flex-center', [
- h('div', formatBalance(account && account.balance)),
+ // h('div', formatBalance(account && account.balance)),
+ h(EtherBalance, {
+ value: account && account.balance,
+ })
]),