aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pages/confirm-send-ether/confirm-send-ether.container.js
diff options
context:
space:
mode:
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.js10
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 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)