import { createSelector } from 'reselect';
import { selectGlobal } from '../App/selectors';
export var selectStatus = function selectStatus(state) {
  return selectGlobal(state).status;
};
export var getIsLoading = function getIsLoading() {
  return createSelector(selectStatus, function (x) {
    return x.isLoading;
  });
};
export var getError = function getError() {
  return createSelector(selectStatus, function (x) {
    return x.error;
  });
};