aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-09-21 10:35:45 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-21 10:44:23 +0800
commit431beb943675f2e9b7b5e5ce9c7f55d45f10905f (patch)
treef4517b6f8737d3a2d5393b18cdca463e3a1bbfd0 /ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js
parent2cfdc95eebc3e0a878017090f22e5136cff709a6 (diff)
downloadtangerine-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.js4
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)),
}
}