diff --git a/src/modules/records/components/RecommendedResource/index.js b/src/modules/records/components/RecommendedResource/index.js
index 7c797e1d..774f0662 100644
--- a/src/modules/records/components/RecommendedResource/index.js
+++ b/src/modules/records/components/RecommendedResource/index.js
@@ -1,16 +1,16 @@
import PropTypes from 'prop-types';
import React from 'react';
-const RecommendedResource = ({ record }) => {
- const isRecommended = record.fields.some((item) => {
- return item.uid === 'highly_recommended';
+const RecommendedResource = ({ fields = [] }) => {
+ const isRecommended = fields.some(({ uid }) => {
+ return uid === 'highly_recommended';
});
return isRecommended ? Recommended : null;
};
RecommendedResource.propTypes = {
- record: PropTypes.object
+ fields: PropTypes.array
};
export default RecommendedResource;
diff --git a/src/modules/records/components/Record/index.js b/src/modules/records/components/Record/index.js
index 536e97f8..1b089ba4 100644
--- a/src/modules/records/components/Record/index.js
+++ b/src/modules/records/components/Record/index.js
@@ -62,7 +62,7 @@ const Header = ({ datastoreUid, record }) => {
);
})}
-
The University of Michigan Library aims to describe its collections in a way that respects the people and communities who create, use, and are represented in them. We encourage you to
diff --git a/src/modules/records/components/RecordMetadata/index.js b/src/modules/records/components/RecordMetadata/index.js
index 1117715c..4f945c19 100644
--- a/src/modules/records/components/RecordMetadata/index.js
+++ b/src/modules/records/components/RecordMetadata/index.js
@@ -2,29 +2,28 @@ import { ContextProvider, Metadata } from '../../../reusable';
import PropTypes from 'prop-types';
import React from 'react';
-const RecordMetadata = ({ record }) => {
- const { metadata } = record;
-
- if (!metadata) {
- return null;
- }
-
+const RecordMetadata = ({ metadata = {} }) => {
return (