summaryrefslogtreecommitdiffstats
path: root/web/react/components/removed_from_channel_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-15 12:07:06 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-15 15:00:28 -0400
commit1571a9a2dfbe6dd3bb598a92f7f62e457b613241 (patch)
treec615bb285e59cc2fb9faa61bbbe02af858b9212b /web/react/components/removed_from_channel_modal.jsx
parentfda7a99e8ce15d51f1d7b2667015af2ef8ab1dec (diff)
downloadchat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.gz
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.bz2
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.zip
Fixing most deprication warnings
Diffstat (limited to 'web/react/components/removed_from_channel_modal.jsx')
-rw-r--r--web/react/components/removed_from_channel_modal.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/removed_from_channel_modal.jsx b/web/react/components/removed_from_channel_modal.jsx
index ca35d6fb0..7cf0a2ef1 100644
--- a/web/react/components/removed_from_channel_modal.jsx
+++ b/web/react/components/removed_from_channel_modal.jsx
@@ -37,13 +37,13 @@ export default class RemovedFromChannelModal extends React.Component {
}
componentDidMount() {
- $(React.findDOMNode(this)).on('show.bs.modal', this.handleShow);
- $(React.findDOMNode(this)).on('hidden.bs.modal', this.handleClose);
+ $(ReactDOM.findDOMNode(this)).on('show.bs.modal', this.handleShow);
+ $(ReactDOM.findDOMNode(this)).on('hidden.bs.modal', this.handleClose);
}
componentWillUnmount() {
- $(React.findDOMNode(this)).off('show.bs.modal', this.handleShow);
- $(React.findDOMNode(this)).off('hidden.bs.modal', this.handleClose);
+ $(ReactDOM.findDOMNode(this)).off('show.bs.modal', this.handleShow);
+ $(ReactDOM.findDOMNode(this)).off('hidden.bs.modal', this.handleClose);
}
render() {