From 67017711df521e4d9f92cfc756b5468f7704a79c Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Wed, 11 Jul 2018 17:34:41 -0700 Subject: Fix font sizes, colors. Include data tab for send-eth transaction confirmations that have data --- .../pages/confirm-send-ether/confirm-send-ether.container.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js') 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 898735d1a..e48ef54a8 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) -- cgit