diff options
Merge branch 'develop' into i3725-refactor-send-component-
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.js | 13 |
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) |