Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { AUTH } from './actionTypes';
- export const reducer = (state, action) => {
- switch(action.type) {
- // ...
- case AUTH.SIGN_IN_SUCCESS:
- case AUTH.SIGN_IN_ERROR:
- return {
- ...state,
- showSpinner: false
- };
- // ...
- }
- };
Add Comment
Please, Sign In to add comment