diff --git a/frontend/components/PublishingInfo/PublishingInfo.js b/frontend/components/PublishingInfo/PublishingInfo.js index a9b5f12ae..2d22753ba 100644 --- a/frontend/components/PublishingInfo/PublishingInfo.js +++ b/frontend/components/PublishingInfo/PublishingInfo.js @@ -8,7 +8,7 @@ import styles from './PublishingInfo.scss'; class PublishingInfo extends React.Component { static propTypes = { - collaborators: PropTypes.object.isRequired, + collaborators: PropTypes.array.isRequired, createdAt: PropTypes.string.isRequired, createdBy: PropTypes.object.isRequired, updatedAt: PropTypes.string.isRequired, @@ -21,6 +21,7 @@ class PublishingInfo extends React.Component { { this.props.collaborators.reverse().map(user => (