diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-11 07:19:29 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-11 07:19:29 +0800 |
commit | b9c2994d24e688305d63aaefd7fac88d88773ad9 (patch) | |
tree | 84ead9430283666999f20aef1cfcbda41de80854 /ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js | |
parent | 9b81180ab10cf8ca59666104e862c0331e953591 (diff) | |
download | tangerine-wallet-browser-b9c2994d24e688305d63aaefd7fac88d88773ad9.tar.gz tangerine-wallet-browser-b9c2994d24e688305d63aaefd7fac88d88773ad9.tar.zst tangerine-wallet-browser-b9c2994d24e688305d63aaefd7fac88d88773ad9.zip |
finish warning modal UI
Diffstat (limited to 'ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js')
-rw-r--r-- | ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js b/ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js new file mode 100644 index 000000000..9a612f2f6 --- /dev/null +++ b/ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js @@ -0,0 +1,13 @@ +import { connect } from 'react-redux' +import ConfirmRemoveAccount from './confirm-remove-account.component' + +const { hideModal, removeAccount } = require('../../../actions') + +const mapDispatchToProps = dispatch => { + return { + hideModal: () => dispatch(hideModal()), + removeAccount: (address) => dispatch(removeAccount(address)), + } +} + +export default connect(null, mapDispatchToProps)(ConfirmRemoveAccount) |