diff --git a/src/containers/SearchHit.js b/src/containers/SearchHit.js index dc40487a2b648c796230a1722bdbf71536c5c6a7..9c535f5d59163da10d05a58d5ddeceeb2ed47ca0 100644 --- a/src/containers/SearchHit.js +++ b/src/containers/SearchHit.js @@ -20,7 +20,7 @@ import { * @private */ const mapStateToProps = (state, { - annotationId, hit, companionWindowId, windowId, + annotationId, hit = { annotations: [] }, companionWindowId, windowId, }) => { const realAnnoId = annotationId || hit.annotations[0]; const hitAnnotation = getResourceAnnotationForSearchHit(