1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/app/components/modals/confirm-reset-account/confirm-reset-account.container.js

17 lines
480 B
JavaScript
Raw Normal View History

2018-05-31 01:17:40 +02:00
import { connect } from 'react-redux'
import { compose } from 'recompose'
import withModalProps from '../../../higher-order-components/with-modal-props'
2018-05-31 01:17:40 +02:00
import ConfirmResetAccount from './confirm-reset-account.component'
import { resetAccount } from '../../../actions'
2018-05-31 01:17:40 +02:00
const mapDispatchToProps = dispatch => {
return {
resetAccount: () => dispatch(resetAccount()),
}
}
export default compose(
withModalProps,
connect(null, mapDispatchToProps)
)(ConfirmResetAccount)