aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/wallet-view.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-20 03:47:44 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-20 03:47:44 +0800
commit376ae032fedb99d22b7c71438ec9482d2013c78e (patch)
tree182064835bbcb717b5494bd545330f36b7f383a6 /ui/app/components/wallet-view.js
parentd3f923efefef893db31c18aa4ff4e2488a5b6448 (diff)
downloadtangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar.gz
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar.bz2
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar.lz
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar.xz
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.tar.zst
tangerine-wallet-browser-376ae032fedb99d22b7c71438ec9482d2013c78e.zip
Fix selectors
Diffstat (limited to 'ui/app/components/wallet-view.js')
-rw-r--r--ui/app/components/wallet-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js
index f06c4d512..a870a24e3 100644
--- a/ui/app/components/wallet-view.js
+++ b/ui/app/components/wallet-view.js
@@ -47,7 +47,7 @@ WalletView.prototype.renderWalletBalance = function () {
hideSidebar,
sidebarOpen,
} = this.props
-
+ console.log({ selectedAccount })
const selectedClass = selectedTokenAddress
? ''
: 'wallet-balance-wrapper--active'
@@ -63,7 +63,7 @@ WalletView.prototype.renderWalletBalance = function () {
},
[
h(BalanceComponent, {
- balanceValue: selectedAccount.balance,
+ balanceValue: selectedAccount ? selectedAccount.balance : '',
style: {},
}),
]