signin render return modify

This commit is contained in:
geek 2017-08-25 13:13:40 +09:00
parent db7a33f73b
commit 4fec91aaef

View File

@ -7,7 +7,7 @@ import {
import * as pwChangeActions from '../redux/action/pw_change'; import * as pwChangeActions from '../redux/action/pw_change';
import * as asyncRequestActions from '@overflow/commons/redux/action/asyncRequest';
export function mapStateToProps(state: any): PWCangeStateProps { export function mapStateToProps(state: any): PWCangeStateProps {
return { return {
@ -18,7 +18,8 @@ export function mapStateToProps(state: any): PWCangeStateProps {
export function mapDispatchToProps(dispatch: Dispatch<any>): PWCangeDispatchProps { export function mapDispatchToProps(dispatch: Dispatch<any>): PWCangeDispatchProps {
return { return {
onResetPassword: (pass: string) => { onResetPassword: (pass: string) => {
dispatch(pwChangeActions.request(pass)); dispatch(asyncRequestActions.request('MemberService', 'forgotPassword', pwChangeActions.REQUEST, 'overflow@loafle.com', pass));
// dispatch(pwChangeActions.request(pass));
}, },
}; };
} }