Sha256: 19c2fddfd45b7a692e537319755648a82b75becb53e2fecee4722ad197dcdf24
Contents?: true
Size: 457 Bytes
Versions: 15
Compression:
Stored size: 457 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import CONTENT_VIEWS_KEY from './ContentViewsConstants'; export const selectContentViews = state => selectAPIResponse(state, CONTENT_VIEWS_KEY).results || []; export const selectContentViewStatus = state => selectAPIStatus(state, CONTENT_VIEWS_KEY); export const selectContentViewError = state => selectAPIError(state, CONTENT_VIEWS_KEY);
Version data entries
15 entries across 15 versions & 1 rubygems