diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-27 08:22:13 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-27 08:22:13 -0700 |
commit | 01c622b9a344221a112d1cc133551bf7eb2c2408 (patch) | |
tree | aad9842fd63e6ae4b4a6252fcf48d7ae75297fca /web/react/components/textbox.jsx | |
parent | 50eb3d9fe46d6364b6f12201edfe0a401be3ccdd (diff) | |
parent | bf555fae14db647d0f1711326126bf94194a0151 (diff) | |
download | chat-01c622b9a344221a112d1cc133551bf7eb2c2408.tar.gz chat-01c622b9a344221a112d1cc133551bf7eb2c2408.tar.bz2 chat-01c622b9a344221a112d1cc133551bf7eb2c2408.zip |
Merge pull request #1195 from mattermost/plt-822
PLT-822 Refactoring post_store into post_store and search_store
Diffstat (limited to 'web/react/components/textbox.jsx')
-rw-r--r-- | web/react/components/textbox.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx index 86bb42f62..707033d8f 100644 --- a/web/react/components/textbox.jsx +++ b/web/react/components/textbox.jsx @@ -2,7 +2,7 @@ // See License.txt for license information. const AppDispatcher = require('../dispatcher/app_dispatcher.jsx'); -const PostStore = require('../stores/post_store.jsx'); +const SearchStore = require('../stores/search_store.jsx'); const CommandList = require('./command_list.jsx'); const ErrorStore = require('../stores/error_store.jsx'); @@ -54,7 +54,7 @@ export default class Textbox extends React.Component { } componentDidMount() { - PostStore.addAddMentionListener(this.onListenerChange); + SearchStore.addAddMentionListener(this.onListenerChange); ErrorStore.addChangeListener(this.onRecievedError); this.resize(); @@ -62,7 +62,7 @@ export default class Textbox extends React.Component { } componentWillUnmount() { - PostStore.removeAddMentionListener(this.onListenerChange); + SearchStore.removeAddMentionListener(this.onListenerChange); ErrorStore.removeChangeListener(this.onRecievedError); } |