aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js
blob: 9630a55939cd910c05dcfaa939c7a03fb3961b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)