diff --git a/src/ts/@overflow/member/react/SignUp.tsx b/src/ts/@overflow/member/react/SignUp.tsx index b426f2d..2648b74 100644 --- a/src/ts/@overflow/member/react/SignUp.tsx +++ b/src/ts/@overflow/member/react/SignUp.tsx @@ -21,8 +21,8 @@ export function mapStateToProps(state: any): SignUpStateProps { export function mapDispatchToProps(dispatch: Dispatch): SignUpDispatchProps { return { - onSignUp: (member: Member, pw: string) => { - dispatch(asyncRequestActions.request('MemberService', 'signup', signupActions.REQUEST, JSON.stringify(member), pw )); + onSignUp: (member: Member) => { + dispatch(asyncRequestActions.request('MemberService', 'signup', signupActions.REQUEST, JSON.stringify(member))); // dispatch(signupActions.request(member)); }, onRedirectHome: () => { diff --git a/src/ts/@overflow/member/react/components/SignUp.tsx b/src/ts/@overflow/member/react/components/SignUp.tsx index 245e3c6..504574e 100644 --- a/src/ts/@overflow/member/react/components/SignUp.tsx +++ b/src/ts/@overflow/member/react/components/SignUp.tsx @@ -14,7 +14,7 @@ export interface StateProps { } export interface DispatchProps { - onSignUp?(member: Member, pw: string): void; + onSignUp?(member: Member): void; onRedirectHome():void; } @@ -123,7 +123,7 @@ export class SignUp extends React.Component { member.phone = this.state.phone; // member.status = MemberStatus.NOAUTH; - this.props.onSignUp(member, member.pw); + this.props.onSignUp(member); } }