diff options
author | Jason Clark <jason@longview.tech> | 2017-11-26 06:47:34 +0800 |
---|---|---|
committer | Jason Clark <jason@longview.tech> | 2017-11-26 06:47:34 +0800 |
commit | 75ef848196646e060703764e97656ab3abd8c023 (patch) | |
tree | ba6dc0921a2464d46472387670afcb5282ec3be5 /ui | |
parent | bd48d858f4226da889760e259377637164f3099c (diff) | |
download | tangerine-wallet-browser-75ef848196646e060703764e97656ab3abd8c023.tar.gz tangerine-wallet-browser-75ef848196646e060703764e97656ab3abd8c023.tar.zst tangerine-wallet-browser-75ef848196646e060703764e97656ab3abd8c023.zip |
making eslint happy
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/actions.js | 4 | ||||
-rw-r--r-- | ui/app/components/identicon.js | 9 | ||||
-rw-r--r-- | ui/app/reducers/metamask.js | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 2819742e5..e79f4373e 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -1566,7 +1566,7 @@ function setUseBlockie (val) { }) dispatch({ type: actions.SET_USE_BLOCKIE, - value: val + value: val, }) } -}
\ No newline at end of file +} diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js index 7a3bd5394..5b3786992 100644 --- a/ui/app/components/identicon.js +++ b/ui/app/components/identicon.js @@ -20,7 +20,7 @@ function IdenticonComponent () { function mapStateToProps (state) { return { - useBlockie: state.metamask.useBlockie + useBlockie: state.metamask.useBlockie, } } @@ -102,15 +102,16 @@ IdenticonComponent.prototype.componentDidUpdate = function () { } } -function _generateBlockie(container, address, diameter) { +function _generateBlockie (container, address, diameter) { const img = new Image() img.src = toDataUrl(address) const dia = !diameter || diameter < 50 ? 50 : diameter - img.height, img.width = dia * 1.25 + img.height = dia * 1.25 + img.width = dia * 1.25 container.appendChild(img) } -function _generateJazzicon(container, address, diameter) { +function _generateJazzicon (container, address, diameter) { const img = iconFactory.iconForAddress(address, diameter) container.appendChild(img) } diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index 1b747e188..fb53bbaef 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -317,7 +317,7 @@ function reduceMetamask (state, action) { case actions.SET_USE_BLOCKIE: return extend(metamaskState, { - useBlockie: action.value + useBlockie: action.value, }) default: |