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.
21 lines
473 B
21 lines
473 B
5 years ago
|
import EnsInput from './ens-input.component'
|
||
|
import {
|
||
|
getCurrentNetwork,
|
||
|
getSendTo,
|
||
|
getSendToNickname,
|
||
|
} from '../../send.selectors'
|
||
|
import {
|
||
|
getAddressBook,
|
||
|
} from '../../../../selectors/selectors'
|
||
|
const connect = require('react-redux').connect
|
||
|
|
||
|
|
||
|
export default connect(
|
||
|
state => ({
|
||
|
network: getCurrentNetwork(state),
|
||
|
selectedAddress: getSendTo(state),
|
||
|
selectedName: getSendToNickname(state),
|
||
|
addressBook: getAddressBook(state),
|
||
|
})
|
||
|
)(EnsInput)
|