diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-26 15:16:14 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-26 15:45:52 -0400 |
commit | bf555fae14db647d0f1711326126bf94194a0151 (patch) | |
tree | 063f1d1deb361a3eb490ff19cea00256b7a8939d /web/react/components/textbox.jsx | |
parent | b46c01b2903d49903cfcf6588097cb72d599b391 (diff) | |
download | chat-bf555fae14db647d0f1711326126bf94194a0151.tar.gz chat-bf555fae14db647d0f1711326126bf94194a0151.tar.bz2 chat-bf555fae14db647d0f1711326126bf94194a0151.zip |
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); } |