You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
507 B
17 lines
507 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import { compose } from 'redux';
|
||
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props';
|
||
|
import { resetAccount } from '../../../../store/actions';
|
||
|
import ConfirmResetAccount from './confirm-reset-account.component';
|
||
7 years ago
|
|
||
5 years ago
|
const mapDispatchToProps = (dispatch) => {
|
||
7 years ago
|
return {
|
||
|
resetAccount: () => dispatch(resetAccount()),
|
||
4 years ago
|
};
|
||
|
};
|
||
7 years ago
|
|
||
6 years ago
|
export default compose(
|
||
|
withModalProps,
|
||
4 years ago
|
connect(null, mapDispatchToProps),
|
||
4 years ago
|
)(ConfirmResetAccount);
|