|
|
@ -5,6 +5,7 @@ const inherits = require('util').inherits |
|
|
|
const TokenBalance = require('./token-balance') |
|
|
|
const TokenBalance = require('./token-balance') |
|
|
|
const Identicon = require('./identicon') |
|
|
|
const Identicon = require('./identicon') |
|
|
|
import CurrencyDisplay from './currency-display' |
|
|
|
import CurrencyDisplay from './currency-display' |
|
|
|
|
|
|
|
const { getAssetImages, conversionRateSelector, getCurrentCurrency} = require('../selectors') |
|
|
|
|
|
|
|
|
|
|
|
const { formatBalance, generateBalanceObject } = require('../util') |
|
|
|
const { formatBalance, generateBalanceObject } = require('../util') |
|
|
|
|
|
|
|
|
|
|
@ -19,9 +20,9 @@ function mapStateToProps (state) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
account, |
|
|
|
account, |
|
|
|
network, |
|
|
|
network, |
|
|
|
conversionRate: state.metamask.conversionRate, |
|
|
|
conversionRate: conversionRateSelector(state), |
|
|
|
currentCurrency: state.metamask.currentCurrency, |
|
|
|
currentCurrency: getCurrentCurrency(state), |
|
|
|
assetImages: state.metamask.assetImages, |
|
|
|
assetImages: getAssetImages(state), |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|