Sha256: df0d719c2287ce3e6b96a4d5ca1e57c9586b081e68e92925324b1c077eb88129
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import CONTENT_VIEWS_KEY from '../ContentViewsConstants'; export const selectCVDetails = (state, cvId) => selectAPIResponse(state, `${CONTENT_VIEWS_KEY}_${cvId}`) || {}; export const selectCVDetailStatus = (state, cvId) => selectAPIStatus(state, `${CONTENT_VIEWS_KEY}_${cvId}`); export const selectCVDetailError = (state, cvId) => selectAPIError(state, `${CONTENT_VIEWS_KEY}_${cvId}`);
Version data entries
15 entries across 15 versions & 1 rubygems