aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/settings/contact-list-tab/my-accounts/my-accounts.container.js
blob: 6380c9d4c4408c34e746d1d71bad35db49018ae0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import ViewContact from './my-accounts.component'
import { compose } from 'recompose'
import { connect } from 'react-redux'
import { withRouter } from 'react-router-dom'
import { accountsWithSendEtherInfoSelector } from '../../../../selectors/selectors'

const mapStateToProps = (state,) => {
  const myAccounts = accountsWithSendEtherInfoSelector(state)

  return {
    myAccounts,
  }
}

export default compose(
  withRouter,
  connect(mapStateToProps)
)(ViewContact)