aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/confirm-remove-account
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-11 12:20:40 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-11 12:20:40 +0800
commit523cf9ad33d88719520ae5e7293329d133b64d4d (patch)
treed547846aa4938afbd90d242548f89f11200fe1b6 /ui/app/components/modals/confirm-remove-account
parentb9c2994d24e688305d63aaefd7fac88d88773ad9 (diff)
downloadtangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar.gz
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar.bz2
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar.lz
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar.xz
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.tar.zst
tangerine-wallet-browser-523cf9ad33d88719520ae5e7293329d133b64d4d.zip
account removal is working
Diffstat (limited to 'ui/app/components/modals/confirm-remove-account')
-rw-r--r--ui/app/components/modals/confirm-remove-account/confirm-remove-account.container.js8
1 files changed, 7 insertions, 1 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 9a612f2f6..fcb149b3f 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
@@ -3,6 +3,12 @@ import ConfirmRemoveAccount from './confirm-remove-account.component'
const { hideModal, removeAccount } = require('../../../actions')
+const mapStateToProps = state => {
+ return {
+ address: state.appState.modal.modalState.props.address,
+ }
+}
+
const mapDispatchToProps = dispatch => {
return {
hideModal: () => dispatch(hideModal()),
@@ -10,4 +16,4 @@ const mapDispatchToProps = dispatch => {
}
}
-export default connect(null, mapDispatchToProps)(ConfirmRemoveAccount)
+export default connect(mapStateToProps, mapDispatchToProps)(ConfirmRemoveAccount)