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

Function mapStateToProps

ui/src/components/common/EntitySelect.jsx:27–33  ·  view source on GitHub ↗
(state, ownProps)

Source from the content-addressed store, hash-verified

25}
26
27const mapStateToProps = (state, ownProps) => {
28 const { query } = ownProps;
29
30 return {
31 result: selectEntitiesResult(state, query),
32 };
33};
34
35export default connect(mapStateToProps)(EntitySelect);

Callers

nothing calls this directly

Calls 1

selectEntitiesResultFunction · 0.90

Tested by

no test coverage detected