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

Function mapStateToProps

ui/src/components/Collection/CollectionOverviewMode.jsx:50–56  ·  view source on GitHub ↗
(state, ownProps)

Source from the content-addressed store, hash-verified

48};
49
50const mapStateToProps = (state, ownProps) => {
51 const { collectionId } = ownProps;
52
53 return {
54 collection: selectCollection(state, collectionId),
55 };
56};
57
58export default compose(
59 connect(mapStateToProps),

Callers

nothing calls this directly

Calls 1

selectCollectionFunction · 0.90

Tested by

no test coverage detected