|
|
@ -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 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|