diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-29 07:19:14 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-29 07:19:14 +0800 |
commit | 9b4f3825e78659148ea2c651c2622b3fb01c41b5 (patch) | |
tree | 44d5a0838a6670db7b32ef893c7e1b3fce5dab47 /ui/app/components | |
parent | 6eb6968037aeacd9c876912634ca5f4b5287957b (diff) | |
parent | 331d9c91ee42f766fe56e2ebef1d1ad283d6c438 (diff) | |
download | tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar.gz tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar.bz2 tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar.lz tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar.xz tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.tar.zst tangerine-wallet-browser-9b4f3825e78659148ea2c651c2622b3fb01c41b5.zip |
Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into i328-MultiVault
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/identicon.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js index 4b2bf899e..30ef6fbd3 100644 --- a/ui/app/components/identicon.js +++ b/ui/app/components/identicon.js @@ -16,8 +16,8 @@ function IdenticonComponent () { } IdenticonComponent.prototype.render = function () { - var state = this.props - var diameter = state.diameter || this.defaultDiameter + var props = this.props + var diameter = props.diameter || this.defaultDiameter return ( h('div', { key: 'identicon-' + this.props.address, @@ -33,15 +33,14 @@ IdenticonComponent.prototype.render = function () { } IdenticonComponent.prototype.componentDidMount = function () { - var state = this.props - var address = state.address + var props = this.props + var address = props.address if (!address) return var container = findDOMNode(this) - var diameter = state.diameter || this.defaultDiameter - var imageify = state.imageify === undefined ? true : state.imageify - var img = iconFactory.iconForAddress(address, diameter, imageify) + var diameter = props.diameter || this.defaultDiameter + var img = iconFactory.iconForAddress(address, diameter, false) container.appendChild(img) } |