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

Function mapStateToProps

ui/src/screens/EntitySetScreen/EntitySetScreen.jsx:55–59  ·  view source on GitHub ↗
(state, ownProps)

Source from the content-addressed store, hash-verified

53}
54
55const mapStateToProps = (state, ownProps) => {
56 const { entitySetId } = ownProps.params;
57 const entitySet = selectEntitySet(state, entitySetId);
58 return { entitySet, entitySetId };
59};
60
61export default compose(
62 withRouter,

Callers

nothing calls this directly

Calls 1

selectEntitySetFunction · 0.90

Tested by

no test coverage detected