(state, ownProps)
| 63 | } |
| 64 | |
| 65 | const mapStateToProps = (state, ownProps) => { |
| 66 | const { location, collectionId } = ownProps; |
| 67 | const xrefQuery = collectionXrefFacetsQuery(location, collectionId); |
| 68 | return { |
| 69 | collection: selectCollection(state, collectionId), |
| 70 | xrefQuery, |
| 71 | xrefResult: selectCollectionXrefResult(state, xrefQuery), |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | const mapDispatchToProps = { |
| 76 | forceMutate, |
nothing calls this directly
no test coverage detected