diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-20 05:08:52 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-20 05:08:58 +0800 |
commit | 0458643f104d7b328e24c4403e4e3d91b4d5de92 (patch) | |
tree | 662997418adf8be40c4f387edea2252e3e58cf99 /ui/app/components | |
parent | 376ae032fedb99d22b7c71438ec9482d2013c78e (diff) | |
download | tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar.gz tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar.bz2 tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar.lz tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar.xz tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.tar.zst tangerine-wallet-browser-0458643f104d7b328e24c4403e4e3d91b4d5de92.zip |
various styling fix on mobile
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/send/account-list-item.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/send/account-list-item.js b/ui/app/components/send/account-list-item.js index 0938f4cad..ba7eec940 100644 --- a/ui/app/components/send/account-list-item.js +++ b/ui/app/components/send/account-list-item.js @@ -11,7 +11,7 @@ function AccountListItem () { Component.call(this) } -function mapStateToProps(state) { +function mapStateToProps (state) { return { conversionRate: conversionRateSelector(state), currentCurrency: getCurrentCurrency(state), @@ -22,14 +22,14 @@ module.exports = connect(mapStateToProps)(AccountListItem) AccountListItem.prototype.render = function () { const { - account, - handleClick, + account, + handleClick, icon = null, conversionRate, currentCurrency, } = this.props - const { name, address, balance } = account + const { name, address, balance } = account || {} return h('div.account-list-item', { onClick: () => handleClick({ name, address, balance }), |