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.
20 lines
473 B
20 lines
473 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import { updateSendHexData } from '../../../../store/actions';
|
||
|
import SendHexDataRow from './send-hex-data-row.component';
|
||
6 years ago
|
|
||
4 years ago
|
export default connect(mapStateToProps, mapDispatchToProps)(SendHexDataRow);
|
||
6 years ago
|
|
||
4 years ago
|
function mapStateToProps(state) {
|
||
6 years ago
|
return {
|
||
|
data: state.metamask.send.data,
|
||
4 years ago
|
};
|
||
6 years ago
|
}
|
||
|
|
||
4 years ago
|
function mapDispatchToProps(dispatch) {
|
||
6 years ago
|
return {
|
||
4 years ago
|
updateSendHexData(data) {
|
||
4 years ago
|
return dispatch(updateSendHexData(data));
|
||
6 years ago
|
},
|
||
4 years ago
|
};
|
||
6 years ago
|
}
|