diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-07-12 08:34:41 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-07-12 08:34:51 +0800 |
commit | 67017711df521e4d9f92cfc756b5468f7704a79c (patch) | |
tree | af5a63f72a3e704dddbf87f101cf873d25feea60 /ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js | |
parent | 92fc87a23157bc544e5abe7621200a48637dabd2 (diff) | |
download | dexon-wallet-67017711df521e4d9f92cfc756b5468f7704a79c.tar.gz dexon-wallet-67017711df521e4d9f92cfc756b5468f7704a79c.tar.zst dexon-wallet-67017711df521e4d9f92cfc756b5468f7704a79c.zip |
Fix font sizes, colors. Include data tab for send-eth transaction confirmations that have data
Diffstat (limited to 'ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js')
-rw-r--r-- | ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js b/ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js index 898735d1..e48ef54a 100644 --- a/ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js +++ b/ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js @@ -5,6 +5,14 @@ import { updateSend } from '../../../actions' import { clearConfirmTransaction } from '../../../ducks/confirm-transaction.duck' import ConfirmSendEther from './confirm-send-ether.component' +const mapStateToProps = state => { + const { confirmTransaction: { txData: { txParams } = {} } } = state + + return { + txParams, + } +} + const mapDispatchToProps = dispatch => { return { editTransaction: txData => { @@ -33,5 +41,5 @@ const mapDispatchToProps = dispatch => { export default compose( withRouter, - connect(null, mapDispatchToProps) + connect(mapStateToProps, mapDispatchToProps) )(ConfirmSendEther) |