diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-04-22 00:01:51 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-04-22 00:01:51 +0800 |
commit | 40e2450022488daa5e36d4c1b866e061bba7c5d2 (patch) | |
tree | 7cb0e9d3a1d3f5a9654f8a4c5358987d567d9ea9 /ui/app/components/identicon.js | |
parent | 7202639b370279f90886f2e94ab77aba5b205bc3 (diff) | |
download | tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.gz tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.tar.zst tangerine-wallet-browser-40e2450022488daa5e36d4c1b866e061bba7c5d2.zip |
Get token list looking ok
Diffstat (limited to 'ui/app/components/identicon.js')
-rw-r--r-- | ui/app/components/identicon.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js index 6d4871d02..1bb92301e 100644 --- a/ui/app/components/identicon.js +++ b/ui/app/components/identicon.js @@ -34,19 +34,19 @@ IdenticonComponent.prototype.render = function () { IdenticonComponent.prototype.componentDidMount = function () { var props = this.props - var address = props.address + const { address, network } = props if (!address) return var container = findDOMNode(this) var diameter = props.diameter || this.defaultDiameter - var img = iconFactory.iconForAddress(address, diameter, false) + var img = iconFactory.iconForAddress(address, diameter, false, network) container.appendChild(img) } IdenticonComponent.prototype.componentDidUpdate = function () { var props = this.props - var address = props.address + const { address, network } = props if (!address) return @@ -58,6 +58,6 @@ IdenticonComponent.prototype.componentDidUpdate = function () { } var diameter = props.diameter || this.defaultDiameter - var img = iconFactory.iconForAddress(address, diameter, false) + var img = iconFactory.iconForAddress(address, diameter, false, network) container.appendChild(img) } |