Sha256: 6bb8227cf730e26275b782300c6fcee82a607ff3da258a2d8aec1caf28a2123f
Contents?: true
Size: 514 Bytes
Versions: 33
Compression:
Stored size: 514 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import HOST_DETAILS_KEY from './HostDetailsConstants'; export const selectHostDetails = state => selectAPIResponse(state, HOST_DETAILS_KEY) ?? {}; export const selectHostDetailsStatus = state => selectAPIStatus(state, HOST_DETAILS_KEY) ?? STATUS.PENDING; export const selectHostDetailsError = state => selectAPIError(state, HOST_DETAILS_KEY);
Version data entries
33 entries across 33 versions & 1 rubygems