Sha256: 38fa983e1e6e9039f8009069ec4f21e36e705155a5ca25aae4866281f50215f9
Contents?: true
Size: 506 Bytes
Versions: 23
Compression:
Stored size: 506 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import { ACTIVATION_KEY } from './ActivationKeyConstants'; export const selectAKDetails = state => selectAPIResponse(state, ACTIVATION_KEY) ?? {}; export const selectAKDetailsStatus = state => selectAPIStatus(state, ACTIVATION_KEY) ?? STATUS.PENDING; export const selectAKDetailsError = state => selectAPIError(state, ACTIVATION_KEY);
Version data entries
23 entries across 23 versions & 1 rubygems