aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/token-cell.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-04-22 00:01:51 +0800
committerDan Finlay <dan@danfinlay.com>2017-04-22 00:01:51 +0800
commit40e2450022488daa5e36d4c1b866e061bba7c5d2 (patch)
tree7cb0e9d3a1d3f5a9654f8a4c5358987d567d9ea9 /ui/app/components/token-cell.js
parent7202639b370279f90886f2e94ab77aba5b205bc3 (diff)
downloadtangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.gz
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.bz2
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.lz
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.xz
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.zst
tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.zip
Get token list looking ok
Diffstat (limited to 'ui/app/components/token-cell.js')
-rw-r--r--ui/app/components/token-cell.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js
index 34a12733f..81e92b301 100644
--- a/ui/app/components/token-cell.js
+++ b/ui/app/components/token-cell.js
@@ -1,6 +1,7 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
+const Identicon = require('./identicon')
module.exports = TokenCell
@@ -15,8 +16,14 @@ TokenCell.prototype.render = function () {
log.info({ address, symbol, string })
return (
- h('li', [
- h('span', `${symbol}: ${string}`),
+ h('li.token-cell', [
+
+ h(Identicon, {
+ diameter: 50,
+ address,
+ }),
+
+ h('h3', `${string || 0} ${symbol}`),
])
)
}