diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-09-21 10:35:45 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-09-21 10:44:23 +0800 |
commit | 431beb943675f2e9b7b5e5ce9c7f55d45f10905f (patch) | |
tree | f4517b6f8737d3a2d5393b18cdca463e3a1bbfd0 /ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js | |
parent | 2cfdc95eebc3e0a878017090f22e5136cff709a6 (diff) | |
download | tangerine-wallet-browser-431beb943675f2e9b7b5e5ce9c7f55d45f10905f.tar.gz tangerine-wallet-browser-431beb943675f2e9b7b5e5ce9c7f55d45f10905f.tar.zst tangerine-wallet-browser-431beb943675f2e9b7b5e5ce9c7f55d45f10905f.zip |
Fix multiplyCurrencies. Add onClose prop for Modal component. Remove hideModal from modal components.
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 | 4 |
1 files changed, 1 insertions, 3 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 index 59d48400d..45c6654ab 100644 --- 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 @@ -2,8 +2,7 @@ import { connect } from 'react-redux' import { compose } from 'recompose' import ConfirmRemoveAccount from './confirm-remove-account.component' import withModalProps from '../../../higher-order-components/with-modal-props' - -const { hideModal, removeAccount } = require('../../../actions') +import { removeAccount } from '../../../actions' const mapStateToProps = state => { return { @@ -13,7 +12,6 @@ const mapStateToProps = state => { const mapDispatchToProps = dispatch => { return { - hideModal: () => dispatch(hideModal()), removeAccount: (address) => dispatch(removeAccount(address)), } } |