text: const initialState = {
    isLoggedIn: false  
  };
  
  export default (state = initialState, action) => {
      switch (action.type) {
          case "LOGIN":
              return {
                  isLoggedIn: true
              };
          case "LOGOUT":
              return {
                  isLoggedIn: false
              };
          default:
              return state;
      }
  };