import { slice } from '../slices';

const nameSpace = slice.name;

export const overallFailureSelector = (state) => state[nameSpace].overallFailure;
export const popupSelector = (state) => state[nameSpace].popup;
export const messageSelector = (state) => state[nameSpace].message;
export const updatedAtSelector = (state) => state[nameSpace].updatedAt;
export const updatedBySelector = (state) => state[nameSpace].updatedBy;

export const isLoadingSelector = (state) => state[nameSpace].isLoading;
