From 3f9c3d76b6edb70f91363c1e0787707ed1440c41 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Mon, 16 Jul 2018 18:21:02 -0230 Subject: Add hex data row to send screen --- .../send/send-content/send-hex-data-row/send-hex-data-row.container.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js (limited to 'ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js') diff --git a/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js b/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3 From 9ea7411c063712825780110c10252155ccb61e44 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Mon, 16 Jul 2018 20:13:32 -0230 Subject: Hook up send component w/ UPDATE_SEND_HEX_DATA action --- .../send-hex-data-row.container.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js') diff --git a/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js b/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js index e69de29bb..df554ca5f 100644 --- a/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js +++ b/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js @@ -0,0 +1,21 @@ +import { connect } from 'react-redux' +import { + updateSendHexData, +} from '../../../../actions' +import SendHexDataRow from './send-hex-data-row.component' + +export default connect(mapStateToProps, mapDispatchToProps)(SendHexDataRow) + +function mapStateToProps (state) { + return { + data: state.metamask.send.data, + } +} + +function mapDispatchToProps (dispatch) { + return { + updateSendHexData (data) { + return dispatch(updateSendHexData(data)) + }, + } +} -- cgit v1.2.3