text: import { checkUserIsLogged } from '../Auth/actions/auth';
  import { CANCEL_ACTION_REQUESTS, CANCEL_ALL_ACTION_REQUESTS } from '../constants';
  
  export const initApplication = () => async dispatch => {
    dispatch(checkUserIsLogged());
  };
  
  export const cancelActionRequest = actionType => ({ type: CANCEL_ACTION_REQUESTS, actionType });
  
  export const cancelAllActionRequests = () => ({ type: CANCEL_ALL_ACTION_REQUESTS });
  