diff options
author | Esteban MIno <efmino@uc.cl> | 2018-08-21 23:59:42 +0800 |
---|---|---|
committer | Esteban MIno <efmino@uc.cl> | 2018-08-21 23:59:42 +0800 |
commit | 6fa889abcb2e907073e227379e1fc930d22bfe2d (patch) | |
tree | 63a8d61d7cba4155f96f1eaf292472cf31f26fae /ui/app/components/modals | |
parent | 68c1b4c17049e3ef18397ae83b0eb9da8cccab2c (diff) | |
download | tangerine-wallet-browser-6fa889abcb2e907073e227379e1fc930d22bfe2d.tar.gz tangerine-wallet-browser-6fa889abcb2e907073e227379e1fc930d22bfe2d.tar.zst tangerine-wallet-browser-6fa889abcb2e907073e227379e1fc930d22bfe2d.zip |
refactor watchToken related functions
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r-- | ui/app/components/modals/hide-token-confirmation-modal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/modals/hide-token-confirmation-modal.js b/ui/app/components/modals/hide-token-confirmation-modal.js index 4ed09d2ee..bdecc0593 100644 --- a/ui/app/components/modals/hide-token-confirmation-modal.js +++ b/ui/app/components/modals/hide-token-confirmation-modal.js @@ -10,7 +10,7 @@ function mapStateToProps (state) { return { network: state.metamask.network, token: state.appState.modal.modalState.props.token, - imageObjects: state.metamask.imageObjects, + assetImages: state.metamask.assetImages, } } @@ -41,9 +41,9 @@ module.exports = connect(mapStateToProps, mapDispatchToProps)(HideTokenConfirmat HideTokenConfirmationModal.prototype.render = function () { - const { token, network, hideToken, hideModal, imageObjects } = this.props + const { token, network, hideToken, hideModal, assetImages } = this.props const { symbol, address } = token - const imageUrl = imageObjects[address] + const imageUrl = assetImages[address] return h('div.hide-token-confirmation', {}, [ h('div.hide-token-confirmation__container', { |