From 63397047cf8ec1941dfebcec12b8d02dcb6508f2 Mon Sep 17 00:00:00 2001 From: Esteban MIno Date: Thu, 30 Aug 2018 15:09:59 -0300 Subject: [PATCH] fix integration test for asset images selectors --- development/bundle.js.tmp-browserify-19688247466117370088 | 0 ui/app/selectors.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 development/bundle.js.tmp-browserify-19688247466117370088 diff --git a/development/bundle.js.tmp-browserify-19688247466117370088 b/development/bundle.js.tmp-browserify-19688247466117370088 new file mode 100644 index 000000000..e69de29bb 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 }