MCPcopy Create free account
hub / github.com/alephdata/aleph / selectTimestamp

Function selectTimestamp

ui/src/selectors.js:9–11  ·  view source on GitHub ↗
(state, key = 'global')

Source from the content-addressed store, hash-verified

7import { getRecentlyViewedItem } from 'app/storage';
8
9function selectTimestamp(state, key = 'global') {
10 return state.mutation[key] || state.mutation.global;
11}
12
13function selectObject(state, objects, id, mutationKey) {
14 if (!id || !_.has(objects, id)) {

Callers 1

selectObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected