diff options
Diffstat (limited to 'webapp/components/delete_channel_modal.jsx')
-rw-r--r-- | webapp/components/delete_channel_modal.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/delete_channel_modal.jsx b/webapp/components/delete_channel_modal.jsx index 59d54e804..74ba51a4c 100644 --- a/webapp/components/delete_channel_modal.jsx +++ b/webapp/components/delete_channel_modal.jsx @@ -8,6 +8,8 @@ import {FormattedMessage} from 'react-intl'; import {browserHistory} from 'react-router/es6'; +import PropTypes from 'prop-types'; + import React from 'react'; import {deleteChannel} from 'actions/channel_actions.jsx'; @@ -99,6 +101,6 @@ export default class DeleteChannelModal extends React.Component { } DeleteChannelModal.propTypes = { - onHide: React.PropTypes.func.isRequired, - channel: React.PropTypes.object.isRequired + onHide: PropTypes.func.isRequired, + channel: PropTypes.object.isRequired }; |