diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-17 06:43:32 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-18 20:22:36 +0800 |
commit | 9ea7411c063712825780110c10252155ccb61e44 (patch) | |
tree | 5e17cb926dc7efb27e84a85d45f61f5a38200eba /ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js | |
parent | 25417fad26566ca3f6e3ccbc4bf6508239f90e58 (diff) | |
download | tangerine-wallet-browser-9ea7411c063712825780110c10252155ccb61e44.tar.gz tangerine-wallet-browser-9ea7411c063712825780110c10252155ccb61e44.tar.zst tangerine-wallet-browser-9ea7411c063712825780110c10252155ccb61e44.zip |
Hook up send component w/ UPDATE_SEND_HEX_DATA action
Diffstat (limited to 'ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js')
-rw-r--r-- | ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.container.js | 21 |
1 files changed, 21 insertions, 0 deletions
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)) + }, + } +} |