diff options
fix integration test for asset images selectors
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/selectors.js | 4 |
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 } |