This commit is contained in:
insanity 2017-08-30 13:36:18 +09:00
commit 7017e8ca19

View File

@ -22,7 +22,7 @@ export function mapStateToProps(state: any): SignUpStateProps {
export function mapDispatchToProps(dispatch: Dispatch<any>): SignUpDispatchProps { export function mapDispatchToProps(dispatch: Dispatch<any>): SignUpDispatchProps {
return { return {
onSignUp: (member: Member) => { onSignUp: (member: Member) => {
dispatch(asyncRequestActions.request('MemberService', 'signup', signupActions.REQUEST, JSON.stringify(member))); dispatch(asyncRequestActions.request('MemberService', 'signup', signupActions.REQUEST, JSON.stringify(member), member.pw));
// dispatch(signupActions.request(member)); // dispatch(signupActions.request(member));
}, },
onRedirectHome: () => { onRedirectHome: () => {