This commit is contained in:
crusader 2018-03-08 16:16:26 +09:00
parent 74df2642a9
commit d3bb6fc8a0

View File

@ -28,14 +28,12 @@ export const EFFECTS = [
export const selectMemberState = createFeatureSelector<State>(MODULE.name); export const selectMemberState = createFeatureSelector<State>(MODULE.name);
export const selectMemberAuthState = createSelector( export const AuthSelector = new StateSelector<AuthStore.State>(createSelector(
selectMemberState, selectMemberState,
(state: State) => state.auth (state: State) => state.auth
); ));
export const AuthSelector = new StateSelector<AuthStore.State>(selectMemberAuthState);
export const selectMemberSignupState = createSelector( export const SignupSelector = new StateSelector<SignupStore.Signup>(createSelector(
selectMemberState, selectMemberState,
(state: State) => state.signup (state: State) => state.signup
); ));
export const SignupSelector = new StateSelector<SignupStore.Signup>(selectMemberSignupState);