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/modals/reject-transactions/reject-transactions.container.js | |
parent | 7610248f8c09f9fb86da700ae2818e9b4bd07832 (diff) | |
download | tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.gz tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.bz2 tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.lz tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.xz tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.tar.zst tangerine-wallet-browser-2e35c05f148a823d04b5a0009afd45b3fcd1d3fa.zip |
Confirm rejecting multiple transactions with modal
Diffstat (limited to 'ui/app/components/modals/reject-transactions/reject-transactions.container.js')
-rw-r--r-- | ui/app/components/modals/reject-transactions/reject-transactions.container.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/app/components/modals/reject-transactions/reject-transactions.container.js b/ui/app/components/modals/reject-transactions/reject-transactions.container.js new file mode 100644 index 000000000..81e98d3ff --- /dev/null +++ b/ui/app/components/modals/reject-transactions/reject-transactions.container.js @@ -0,0 +1,17 @@ +import { connect } from 'react-redux' +import { compose } from 'recompose' +import RejectTransactionsModal from './reject-transactions.component' +import withModalProps from '../../../higher-order-components/with-modal-props' + +const mapStateToProps = (state, ownProps) => { + const { unapprovedTxCount } = ownProps + + return { + unapprovedTxCount, + } +} + +export default compose( + withModalProps, + connect(mapStateToProps), +)(RejectTransactionsModal) |