(state, ownProps)
| 214 | } |
| 215 | |
| 216 | const mapStateToProps = (state, ownProps) => { |
| 217 | const { collectionId, location } = ownProps; |
| 218 | const xrefQuery = collectionXrefFacetsQuery(location, collectionId); |
| 219 | |
| 220 | return { |
| 221 | model: selectModel(state), |
| 222 | xrefResult: selectCollectionXrefResult(state, xrefQuery), |
| 223 | collection: selectCollection(state, collectionId), |
| 224 | }; |
| 225 | }; |
| 226 | |
| 227 | export default class CollectionView { |
| 228 | static Icon = CollectionViewIcon; |
nothing calls this directly
no test coverage detected