(state, ownProps)
| 255 | } |
| 256 | |
| 257 | const mapStateToProps = (state, ownProps) => { |
| 258 | const { location, reference, query } = ownProps; |
| 259 | const parsedHash = queryString.parse(location.hash); |
| 260 | const schema = selectSchema(state, reference.schema); |
| 261 | return { |
| 262 | schema, |
| 263 | parsedHash, |
| 264 | expandedId: parsedHash.expand, |
| 265 | result: selectEntitiesResult(state, query), |
| 266 | isThing: schema.isThing(), |
| 267 | }; |
| 268 | }; |
| 269 | |
| 270 | export default compose( |
| 271 | withRouter, |
nothing calls this directly
no test coverage detected