import {connect} from 'react-redux'
import {showAlert} from 'store/actions'
import alertTypes from 'containers/alert-manager/alert-types'
import AccountDeactivationConfirmation from './component'

const mapDispatchToProps = (dispatch) => {
    return {
        showAccountDeactivation: () =>
            showAlert({type: alertTypes.ACCOUNT_DEACTIVATION})(dispatch),
    }
}

export default connect(
    null,
    mapDispatchToProps
)(AccountDeactivationConfirmation)
