aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/account-list-item/account-list-item.container.js
blob: e1bc1dd79e129589a1bbed6bb53ec89de3b843fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { connect } from 'react-redux'
import {
    getConversionRate,
    getConvertedCurrency,
} from '../send.selectors.js'
import AccountListItem from './account-list-item.component'

export default connect(mapStateToProps)(AccountListItem)

function mapStateToProps (state) {
  return {
    conversionRate: getConversionRate(state),
    currentCurrency: getConvertedCurrency(state),
  }
}