|
|
@ -22,6 +22,7 @@ module.exports = connect(mapStateToProps)(AccountListItem) |
|
|
|
|
|
|
|
|
|
|
|
AccountListItem.prototype.render = function () { |
|
|
|
AccountListItem.prototype.render = function () { |
|
|
|
const { |
|
|
|
const { |
|
|
|
|
|
|
|
className, |
|
|
|
account, |
|
|
|
account, |
|
|
|
handleClick, |
|
|
|
handleClick, |
|
|
|
icon = null, |
|
|
|
icon = null, |
|
|
@ -34,6 +35,7 @@ AccountListItem.prototype.render = function () { |
|
|
|
const { name, address, balance } = account || {} |
|
|
|
const { name, address, balance } = account || {} |
|
|
|
|
|
|
|
|
|
|
|
return h('div.account-list-item', { |
|
|
|
return h('div.account-list-item', { |
|
|
|
|
|
|
|
className, |
|
|
|
onClick: () => handleClick({ name, address, balance }), |
|
|
|
onClick: () => handleClick({ name, address, balance }), |
|
|
|
}, [ |
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
|
|