fix integration test for asset images selectors

feature/default_network_editable
Esteban MIno 6 years ago
parent c8e5068537
commit 63397047cf
  1. 0
      development/bundle.js.tmp-browserify-19688247466117370088
  2. 4
      ui/app/selectors.js

@ -74,14 +74,14 @@ function getSelectedTokenExchangeRate (state) {
} }
function getSelectedTokenAssetImage (state) { function getSelectedTokenAssetImage (state) {
const assetImages = state.metamask.assetImages const assetImages = state.metamask.assetImages || {}
const selectedToken = getSelectedToken(state) || {} const selectedToken = getSelectedToken(state) || {}
const { address } = selectedToken const { address } = selectedToken
return assetImages[address] return assetImages[address]
} }
function getAssetImages (state) { function getAssetImages (state) {
const assetImages = state.metamask.assetImages const assetImages = state.metamask.assetImages || {}
return assetImages return assetImages
} }

Loading…
Cancel
Save