diff options
Diffstat (limited to 'webapp/components/search_results.jsx')
-rw-r--r-- | webapp/components/search_results.jsx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/webapp/components/search_results.jsx b/webapp/components/search_results.jsx index 64e5a7c93..6244fa85a 100644 --- a/webapp/components/search_results.jsx +++ b/webapp/components/search_results.jsx @@ -15,6 +15,7 @@ import Constants from 'utils/constants.jsx'; const Preferences = Constants.Preferences; import $ from 'jquery'; +import PropTypes from 'prop-types'; import React from 'react'; import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; @@ -331,11 +332,11 @@ export default class SearchResults extends React.Component { } SearchResults.propTypes = { - isMentionSearch: React.PropTypes.bool, - useMilitaryTime: React.PropTypes.bool.isRequired, - toggleSize: React.PropTypes.func, - shrink: React.PropTypes.func, - isFlaggedPosts: React.PropTypes.bool, - isPinnedPosts: React.PropTypes.bool, - channelDisplayName: React.PropTypes.string.isRequired + isMentionSearch: PropTypes.bool, + useMilitaryTime: PropTypes.bool.isRequired, + toggleSize: PropTypes.func, + shrink: PropTypes.func, + isFlaggedPosts: PropTypes.bool, + isPinnedPosts: PropTypes.bool, + channelDisplayName: PropTypes.string.isRequired }; |