Sha256: 1e0abcbc99a0ff23a3582f31006f3655ebd2b93490ab047269b66bfbf1a23f7a
Contents?: true
Size: 520 Bytes
Versions: 41
Compression:
Stored size: 520 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import CONTENT_VIEWS_KEY from './ContentViewsConstants'; export const selectContentViews = state => selectAPIResponse(state, CONTENT_VIEWS_KEY) || {}; export const selectContentViewStatus = state => selectAPIStatus(state, CONTENT_VIEWS_KEY) || STATUS.PENDING; export const selectContentViewError = state => selectAPIError(state, CONTENT_VIEWS_KEY);
Version data entries
41 entries across 41 versions & 1 rubygems