diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-24 13:07:19 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-02 00:14:54 +0800 |
commit | 2e35c05f148a823d04b5a0009afd45b3fcd1d3fa (patch) | |
tree | 503dedcb95b80db7ef435c7ca1f68a65f1126933 /ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js | |
parent | 7610248f8c09f9fb86da700ae2818e9b4bd07832 (diff) | |
download | tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.gz tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.zst tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.zip |
Confirm rejecting multiple transactions with modal
Diffstat (limited to 'ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js')
-rw-r--r-- | ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js b/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js index 5fbd127c3..2e7677a45 100644 --- a/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js +++ b/ui/app/components/pages/confirm-transaction-base/confirm-transaction-base.container.js @@ -111,6 +111,9 @@ const mapDispatchToProps = dispatch => { updateGasAndCalculate: ({ gasLimit, gasPrice }) => { return dispatch(updateGasAndCalculate({ gasLimit, gasPrice })) }, + showRejectTransactionsConfirmationModal: ({ onSubmit, unapprovedTxCount }) => { + return dispatch(showModal({ name: 'REJECT_TRANSACTIONS', onSubmit, unapprovedTxCount })) + }, cancelTransaction: ({ id }) => dispatch(cancelTx({ id })), cancelAllTransactions: (txList) => dispatch(cancelTxs(txList)), sendTransaction: txData => dispatch(updateAndApproveTx(txData)), |