diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 03:53:15 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 03:53:15 +0800 |
commit | b0759ddc1881179edaf27a6cd57e5fb27bdd2c31 (patch) | |
tree | 6058ed1171bcdb663165f46d6d5a069ca84d09b1 /ui | |
parent | 27b75b67b42c232051660c33da976d64a63ff407 (diff) | |
download | tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar.gz tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar.bz2 tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar.lz tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar.xz tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.tar.zst tangerine-wallet-browser-b0759ddc1881179edaf27a6cd57e5fb27bdd2c31.zip |
Hook up send screen action to Send Button in TxView
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/modals/new-account-modal.js | 2 | ||||
-rw-r--r-- | ui/app/components/tx-view.js | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/components/modals/new-account-modal.js b/ui/app/components/modals/new-account-modal.js index 15341a2e9..90a3b7c99 100644 --- a/ui/app/components/modals/new-account-modal.js +++ b/ui/app/components/modals/new-account-modal.js @@ -18,7 +18,7 @@ function mapDispatchToProps (dispatch) { }, hideModal: () => { dispatch(actions.hideModal()) - } + }, } } diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index 265893104..dbbf07710 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -36,6 +36,7 @@ function mapDispatchToProps (dispatch) { showSidebar: () => { dispatch(actions.showSidebar()) }, hideSidebar: () => { dispatch(actions.hideSidebar()) }, showModal: (payload) => { dispatch(actions.showModal(payload)) }, + showSendPage: () => { dispatch(actions.showSendPage()) }, } } @@ -115,6 +116,9 @@ TxView.prototype.render = function () { textAlign: 'center', marginLeft: '1.4em', }, + onClick: () => { + this.props.showSendPage() + }, }, 'SEND'), ]), |