summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_header_post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_header_post.jsx')
-rw-r--r--webapp/components/rhs_header_post.jsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/webapp/components/rhs_header_post.jsx b/webapp/components/rhs_header_post.jsx
index 55c16b0ae..0e7ee786a 100644
--- a/webapp/components/rhs_header_post.jsx
+++ b/webapp/components/rhs_header_post.jsx
@@ -12,6 +12,8 @@ import {FormattedMessage} from 'react-intl';
const ActionTypes = Constants.ActionTypes;
+import PropTypes from 'prop-types';
+
import React from 'react';
export default class RhsHeaderPost extends React.Component {
@@ -201,11 +203,11 @@ RhsHeaderPost.defaultProps = {
fromSearch: ''
};
RhsHeaderPost.propTypes = {
- isMentionSearch: React.PropTypes.bool,
- isWebrtc: React.PropTypes.bool,
- fromSearch: React.PropTypes.string,
- fromFlaggedPosts: React.PropTypes.bool,
- fromPinnedPosts: React.PropTypes.bool,
- toggleSize: React.PropTypes.func,
- shrink: React.PropTypes.func
+ isMentionSearch: PropTypes.bool,
+ isWebrtc: PropTypes.bool,
+ fromSearch: PropTypes.string,
+ fromFlaggedPosts: PropTypes.bool,
+ fromPinnedPosts: PropTypes.bool,
+ toggleSize: PropTypes.func,
+ shrink: PropTypes.func
};