aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-31 02:09:59 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-31 02:09:59 +0800
commit63397047cf8ec1941dfebcec12b8d02dcb6508f2 (patch)
tree43848b1188ccfbf4ea12b962ce2e36e7f2200081 /ui
parentc8e5068537b6f0fa0f68752f246058d2c24cb4b8 (diff)
downloadtangerine-wallet-browser-63397047cf8ec1941dfebcec12b8d02dcb6508f2.tar.gz
tangerine-wallet-browser-63397047cf8ec1941dfebcec12b8d02dcb6508f2.tar.zst
tangerine-wallet-browser-63397047cf8ec1941dfebcec12b8d02dcb6508f2.zip
fix integration test for asset images selectors
Diffstat (limited to 'ui')
-rw-r--r--ui/app/selectors.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js
index 18d6709f7..fb4517628 100644
--- a/ui/app/selectors.js
+++ b/ui/app/selectors.js
@@ -74,14 +74,14 @@ function getSelectedTokenExchangeRate (state) {
}
function getSelectedTokenAssetImage (state) {
- const assetImages = state.metamask.assetImages
+ const assetImages = state.metamask.assetImages || {}
const selectedToken = getSelectedToken(state) || {}
const { address } = selectedToken
return assetImages[address]
}
function getAssetImages (state) {
- const assetImages = state.metamask.assetImages
+ const assetImages = state.metamask.assetImages || {}
return assetImages
}