diff options
Diffstat (limited to 'webapp/components/channel_header.jsx')
-rw-r--r-- | webapp/components/channel_header.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/channel_header.jsx b/webapp/components/channel_header.jsx index f09a4a61d..ad225e120 100644 --- a/webapp/components/channel_header.jsx +++ b/webapp/components/channel_header.jsx @@ -37,6 +37,8 @@ import AppDispatcher from 'dispatcher/app_dispatcher.jsx'; import {Constants, Preferences, UserStatuses, ActionTypes} from 'utils/constants.jsx'; +import PropTypes from 'prop-types'; + import React from 'react'; import {FormattedMessage} from 'react-intl'; import {Tooltip, OverlayTrigger, Popover} from 'react-bootstrap'; @@ -948,5 +950,5 @@ export default class ChannelHeader extends React.Component { } ChannelHeader.propTypes = { - channelId: React.PropTypes.string.isRequired + channelId: PropTypes.string.isRequired }; |