You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
16 lines
389 B
7 years ago
|
import { connect } from 'react-redux'
|
||
|
import {
|
||
|
getConversionRate,
|
||
7 years ago
|
getCurrentCurrency,
|
||
7 years ago
|
} from '../send.selectors.js'
|
||
|
import AccountListItem from './account-list-item.component'
|
||
|
|
||
|
export default connect(mapStateToProps)(AccountListItem)
|
||
|
|
||
|
function mapStateToProps (state) {
|
||
|
return {
|
||
|
conversionRate: getConversionRate(state),
|
||
7 years ago
|
currentCurrency: getCurrentCurrency(state),
|
||
7 years ago
|
}
|
||
7 years ago
|
}
|