From 4fec91aaef65ed3aa9ccf8dd1bd8ab0420486291 Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 25 Aug 2017 13:13:40 +0900 Subject: [PATCH] signin render return modify --- src/ts/@overflow/member/react/PWChange.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ts/@overflow/member/react/PWChange.tsx b/src/ts/@overflow/member/react/PWChange.tsx index b837b90..980e7f1 100644 --- a/src/ts/@overflow/member/react/PWChange.tsx +++ b/src/ts/@overflow/member/react/PWChange.tsx @@ -7,7 +7,7 @@ import { import * as pwChangeActions from '../redux/action/pw_change'; - +import * as asyncRequestActions from '@overflow/commons/redux/action/asyncRequest'; export function mapStateToProps(state: any): PWCangeStateProps { return { @@ -18,7 +18,8 @@ export function mapStateToProps(state: any): PWCangeStateProps { export function mapDispatchToProps(dispatch: Dispatch): PWCangeDispatchProps { return { onResetPassword: (pass: string) => { - dispatch(pwChangeActions.request(pass)); + dispatch(asyncRequestActions.request('MemberService', 'forgotPassword', pwChangeActions.REQUEST, 'overflow@loafle.com', pass)); + // dispatch(pwChangeActions.request(pass)); }, }; }