Hook up send screen action to Send Button in TxView

feature/default_network_editable
sdtsui 7 years ago
parent 27b75b67b4
commit b0759ddc18
  1. 2
      ui/app/components/modals/new-account-modal.js
  2. 4
      ui/app/components/tx-view.js

@ -18,7 +18,7 @@ function mapDispatchToProps (dispatch) {
}, },
hideModal: () => { hideModal: () => {
dispatch(actions.hideModal()) dispatch(actions.hideModal())
} },
} }
} }

@ -36,6 +36,7 @@ function mapDispatchToProps (dispatch) {
showSidebar: () => { dispatch(actions.showSidebar()) }, showSidebar: () => { dispatch(actions.showSidebar()) },
hideSidebar: () => { dispatch(actions.hideSidebar()) }, hideSidebar: () => { dispatch(actions.hideSidebar()) },
showModal: (payload) => { dispatch(actions.showModal(payload)) }, showModal: (payload) => { dispatch(actions.showModal(payload)) },
showSendPage: () => { dispatch(actions.showSendPage()) },
} }
} }
@ -115,6 +116,9 @@ TxView.prototype.render = function () {
textAlign: 'center', textAlign: 'center',
marginLeft: '1.4em', marginLeft: '1.4em',
}, },
onClick: () => {
this.props.showSendPage()
},
}, 'SEND'), }, 'SEND'),
]), ]),

Loading…
Cancel
Save