import CeraonState from '../../State/CeraonState';
import CeraonAction from '../../Actions/CeraonAction';

export default function ceraonReducer(state: CeraonState, action: CeraonAction) : CeraonState {
  return state;
}

import CeraonState from '../../State/CeraonState';
import CeraonAction from '../../Actions/CeraonAction';
import CeraonActionType from '../../Actions/CeraonActionType';
import CeraonPage from '../../State/CeraonPage';

export default function ceraonReducer(state: CeraonState, action: CeraonAction) : CeraonState {

  if (action.type == CeraonActionType.Login) {
    state.activePage = CeraonPage.Loading;
    state.loadingPageState.loadingStatusMessage = 'Logging you in...';
  }

  return state;
}

Add support in reducer for login action
Add support in reducer for login action
