diff options
Diffstat (limited to 'webapp/components/post_view/components/post_body_additional_content.jsx')
-rw-r--r-- | webapp/components/post_view/components/post_body_additional_content.jsx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/webapp/components/post_view/components/post_body_additional_content.jsx b/webapp/components/post_view/components/post_body_additional_content.jsx index 549bb9faa..130031233 100644 --- a/webapp/components/post_view/components/post_body_additional_content.jsx +++ b/webapp/components/post_view/components/post_body_additional_content.jsx @@ -9,6 +9,8 @@ import YoutubeVideo from 'components/youtube_video.jsx'; import Constants from 'utils/constants.jsx'; import * as Utils from 'utils/utils.jsx'; +import PropTypes from 'prop-types'; + import React from 'react'; export default class PostBodyAdditionalContent extends React.Component { @@ -216,9 +218,9 @@ PostBodyAdditionalContent.defaultProps = { previewCollapsed: 'false' }; PostBodyAdditionalContent.propTypes = { - post: React.PropTypes.object.isRequired, - message: React.PropTypes.element.isRequired, - compactDisplay: React.PropTypes.bool, - previewCollapsed: React.PropTypes.string, - childComponentDidUpdateFunction: React.PropTypes.func + post: PropTypes.object.isRequired, + message: PropTypes.element.isRequired, + compactDisplay: PropTypes.bool, + previewCollapsed: PropTypes.string, + childComponentDidUpdateFunction: PropTypes.func }; |