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

Function mapStateToProps

ui/src/components/Screen/Screen.jsx:84–87  ·  view source on GitHub ↗
(state, ownProps)

Source from the content-addressed store, hash-verified

82}
83
84const mapStateToProps = (state, ownProps) => ({
85 metadata: selectMetadata(state),
86 session: selectSession(state),
87});
88
89export default compose(withRouter, connect(mapStateToProps))(Screen);

Callers

nothing calls this directly

Calls 2

selectMetadataFunction · 0.90
selectSessionFunction · 0.90

Tested by

no test coverage detected