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.
18 lines
456 B
18 lines
456 B
import { compose } from 'redux'
|
|
import { connect } from 'react-redux'
|
|
import { withRouter } from 'react-router-dom'
|
|
import { accountsWithSendEtherInfoSelector } from '../../../../selectors'
|
|
import ViewContact from './my-accounts.component'
|
|
|
|
const mapStateToProps = (state) => {
|
|
const myAccounts = accountsWithSendEtherInfoSelector(state)
|
|
|
|
return {
|
|
myAccounts,
|
|
}
|
|
}
|
|
|
|
export default compose(
|
|
withRouter,
|
|
connect(mapStateToProps),
|
|
)(ViewContact)
|
|
|