From 74df2642a9e06480bf722919784df9278853e330 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 8 Mar 2018 16:07:48 +0900 Subject: [PATCH] ing --- src/packages/member/store/auth/auth.reducer.ts | 18 +++++++++--------- .../member/store/signup/signup.reducer.ts | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/packages/member/store/auth/auth.reducer.ts b/src/packages/member/store/auth/auth.reducer.ts index 89b48df..a590ba4 100644 --- a/src/packages/member/store/auth/auth.reducer.ts +++ b/src/packages/member/store/auth/auth.reducer.ts @@ -19,16 +19,16 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: null, - isPending: true, + pending: true, }; } case ActionType.SigninSuccess: { return { ...state, - isSignin: true, + signined: true, error: null, - isPending: false, + pending: false, member: action.payload.member, domain: action.payload.domain, }; @@ -37,9 +37,9 @@ export function reducer(state = initialState, action: Actions): State { case ActionType.SigninFailure: { return { ...state, - isSignin: false, + signined: false, error: action.payload, - isPending: false, + pending: false, member: null, domain: null, }; @@ -49,16 +49,16 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: null, - isPending: true, + pending: true, }; } case ActionType.SigninSuccess: { return { ...state, - isSignin: false, + signined: false, error: null, - isPending: false, + pending: false, member: null, domain: null, }; @@ -68,7 +68,7 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: action.payload, - isPending: false, + pending: false, }; } diff --git a/src/packages/member/store/signup/signup.reducer.ts b/src/packages/member/store/signup/signup.reducer.ts index 474f5de..45cbfa0 100644 --- a/src/packages/member/store/signup/signup.reducer.ts +++ b/src/packages/member/store/signup/signup.reducer.ts @@ -16,7 +16,7 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: null, - isPending: true, + pending: true, }; } @@ -24,7 +24,7 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: null, - isPending: false, + pending: false, member: action.payload, }; } @@ -33,7 +33,7 @@ export function reducer(state = initialState, action: Actions): State { return { ...state, error: action.payload, - isPending: false, + pending: false, member: null, }; }