diff options
Diffstat (limited to 'webapp/components/search_bar.jsx')
-rw-r--r-- | webapp/components/search_bar.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/search_bar.jsx b/webapp/components/search_bar.jsx index 1ed8445f8..7e2cecede 100644 --- a/webapp/components/search_bar.jsx +++ b/webapp/components/search_bar.jsx @@ -18,6 +18,8 @@ import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; var ActionTypes = Constants.ActionTypes; import {Tooltip, OverlayTrigger, Popover} from 'react-bootstrap'; +import PropTypes from 'prop-types'; + import React from 'react'; export default class SearchBar extends React.Component { @@ -365,7 +367,7 @@ SearchBar.defaultProps = { }; SearchBar.propTypes = { - showMentionFlagBtns: React.PropTypes.bool, - isCommentsPage: React.PropTypes.bool, - isFocus: React.PropTypes.bool + showMentionFlagBtns: PropTypes.bool, + isCommentsPage: PropTypes.bool, + isFocus: PropTypes.bool }; |