summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/channel_info_modal.jsx')
-rw-r--r--web/react/components/channel_info_modal.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx
index 5eac6be0f..18e125de3 100644
--- a/web/react/components/channel_info_modal.jsx
+++ b/web/react/components/channel_info_modal.jsx
@@ -1,7 +1,7 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-const Modal = require('./modal.jsx');
+const Modal = ReactBootstrap.Modal;
export default class ChannelInfoModal extends React.Component {
render() {
@@ -18,7 +18,6 @@ export default class ChannelInfoModal extends React.Component {
<Modal
show={this.props.show}
onHide={this.props.onHide}
- onShow={this.onShow}
>
<Modal.Header closeButtton={true}>
{channel.display_name}