From 95d8ff7891eea366edbad7d2f678afa4b8e8de58 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Mon, 15 Aug 2016 15:51:37 +0200 Subject: [PATCH] Fixed props --- frontend/components/PublishingInfo/PublishingInfo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => (