diff options
Diffstat (limited to 'webapp/components/channel_view.jsx')
-rw-r--r-- | webapp/components/channel_view.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/channel_view.jsx b/webapp/components/channel_view.jsx index e9fb4cf94..97275d37d 100644 --- a/webapp/components/channel_view.jsx +++ b/webapp/components/channel_view.jsx @@ -2,6 +2,7 @@ // See License.txt for license information. import $ from 'jquery'; +import PropTypes from 'prop-types'; import React from 'react'; import * as UserAgent from 'utils/user_agent.jsx'; @@ -91,5 +92,5 @@ ChannelView.defaultProps = { }; ChannelView.propTypes = { - params: React.PropTypes.object.isRequired + params: PropTypes.object.isRequired }; |