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)