summaryrefslogtreecommitdiffstats
path: root/webapp/components/edit_channel_header_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/edit_channel_header_modal.jsx')
-rw-r--r--webapp/components/edit_channel_header_modal.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/edit_channel_header_modal.jsx b/webapp/components/edit_channel_header_modal.jsx
index 2536e0218..b8278af48 100644
--- a/webapp/components/edit_channel_header_modal.jsx
+++ b/webapp/components/edit_channel_header_modal.jsx
@@ -23,6 +23,8 @@ const holders = defineMessages({
}
});
+import PropTypes from 'prop-types';
+
import React from 'react';
class EditChannelHeaderModal extends React.Component {
@@ -221,8 +223,8 @@ class EditChannelHeaderModal extends React.Component {
EditChannelHeaderModal.propTypes = {
intl: intlShape.isRequired,
- onHide: React.PropTypes.func.isRequired,
- channel: React.PropTypes.object.isRequired
+ onHide: PropTypes.func.isRequired,
+ channel: PropTypes.object.isRequired
};
export default injectIntl(EditChannelHeaderModal);