aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-03 17:16:45 +0800
committerDan <danjm.com@gmail.com>2018-06-03 17:16:45 +0800
commit8f0a3b83111a9ccf5d515cebbd33cabe9ab16ba7 (patch)
tree5ab993280fa87add44aad288f155a0ce3b7a0da7 /ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js
parent0f3480a97f2924de899e49a095ef24b9fa5506f1 (diff)
parent72dde75e58b2aaec22e41b2fe742bee7e9c35777 (diff)
downloadtangerine-wallet-browser-8f0a3b83111a9ccf5d515cebbd33cabe9ab16ba7.tar.gz
tangerine-wallet-browser-8f0a3b83111a9ccf5d515cebbd33cabe9ab16ba7.tar.zst
tangerine-wallet-browser-8f0a3b83111a9ccf5d515cebbd33cabe9ab16ba7.zip
Merge branch 'develop' into handle-import-account-failure-in-ui
Diffstat (limited to 'ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js')
-rw-r--r--ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js b/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js
new file mode 100644
index 000000000..9630a5593
--- /dev/null
+++ b/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js
@@ -0,0 +1,13 @@
+import { connect } from 'react-redux'
+import ConfirmResetAccount from './confirm-reset-account.component'
+
+const { hideModal, resetAccount } = require('../../../actions')
+
+const mapDispatchToProps = dispatch => {
+ return {
+ hideModal: () => dispatch(hideModal()),
+ resetAccount: () => dispatch(resetAccount()),
+ }
+}
+
+export default connect(null, mapDispatchToProps)(ConfirmResetAccount)