%PDF- %PDF-
Direktori : /home/emergentqj/actioncivile/pre-auth/.632e77b3fb93bc8da5b589b869bc0037/static/js/containers/ForgotPassword/ |
Current File : /home/emergentqj/actioncivile/pre-auth/.632e77b3fb93bc8da5b589b869bc0037/static/js/containers/ForgotPassword/ForgotPasswordContainer.js |
import { connect } from "react-redux"; import ForgotPassword from "components/ForgotPassword"; import countryConfig from "config/countryData"; import { resetRestorePswSession, } from "../../actions/list_actions"; const mapStateToProps = (state) => ({ step: state.resetPassword.toJS().step, phoneNumber: countryConfig.countryData[state.config.toJS().config.countryConstant].tel_number, }); const mapDispatchToProps = (dispatch) => ({ resetRestoreSession: () => { dispatch(resetRestorePswSession()); }, }); export default connect( mapStateToProps, mapDispatchToProps, )(ForgotPassword);