summaryrefslogtreecommitdiffstats
path: root/webapp/components/rename_channel_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rename_channel_modal.jsx')
-rw-r--r--webapp/components/rename_channel_modal.jsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/rename_channel_modal.jsx b/webapp/components/rename_channel_modal.jsx
index 96897eb52..850231aeb 100644
--- a/webapp/components/rename_channel_modal.jsx
+++ b/webapp/components/rename_channel_modal.jsx
@@ -45,6 +45,8 @@ const holders = defineMessages({
}
});
+import PropTypes from 'prop-types';
+
import React from 'react';
export class RenameChannelModal extends React.Component {
@@ -322,9 +324,9 @@ export class RenameChannelModal extends React.Component {
RenameChannelModal.propTypes = {
intl: intlShape.isRequired,
- show: React.PropTypes.bool.isRequired,
- onHide: React.PropTypes.func.isRequired,
- channel: React.PropTypes.object.isRequired
+ show: PropTypes.bool.isRequired,
+ onHide: PropTypes.func.isRequired,
+ channel: PropTypes.object.isRequired
};
export default injectIntl(RenameChannelModal);