aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts.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/accounts.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/accounts.js')
-rw-r--r--ui/app/accounts.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/accounts.js b/ui/app/accounts.js
index 18ba1e67d..e609e7424 100644
--- a/ui/app/accounts.js
+++ b/ui/app/accounts.js
@@ -5,7 +5,7 @@ const connect = require('react-redux').connect
const extend = require('xtend')
const Identicon = require('./components/identicon')
const actions = require('./actions')
-const AccountPanel = require('./components/account-panel')
+const EtherBalance = require('./components/eth-balance')
const valuesFor = require('./util').valuesFor
const addressSummary = require('./util').addressSummary
const formatBalance = require('./util').formatBalance
@@ -108,7 +108,10 @@ AccountsScreen.prototype.render = function() {
h('span', identity.name),
h('span.font-small', addressSummary(identity.address)),
- h('span.font-small', formatBalance(account.balance)),
+ // h('span.font-small', formatBalance(account.balance)),
+ h(EtherBalance, {
+ value: account.balance,
+ }),
]),