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.
19 lines
470 B
19 lines
470 B
5 years ago
|
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)
|