summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_members_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/channel_members_modal.jsx')
-rw-r--r--webapp/components/channel_members_modal.jsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/channel_members_modal.jsx b/webapp/components/channel_members_modal.jsx
index 492bc8809..d361f6b7c 100644
--- a/webapp/components/channel_members_modal.jsx
+++ b/webapp/components/channel_members_modal.jsx
@@ -10,6 +10,8 @@ import ChannelStore from 'stores/channel_store.jsx';
import {canManageMembers} from 'utils/channel_utils.jsx';
import {Constants} from 'utils/constants.jsx';
+import PropTypes from 'prop-types';
+
import React from 'react';
import {Modal} from 'react-bootstrap';
import {FormattedMessage} from 'react-intl';
@@ -87,7 +89,7 @@ export default class ChannelMembersModal extends React.Component {
}
ChannelMembersModal.propTypes = {
- onModalDismissed: React.PropTypes.func.isRequired,
- showInviteModal: React.PropTypes.func.isRequired,
- channel: React.PropTypes.object.isRequired
+ onModalDismissed: PropTypes.func.isRequired,
+ showInviteModal: PropTypes.func.isRequired,
+ channel: PropTypes.object.isRequired
};