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

export default connect(mapStateToProps)(AccountListItem)

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