diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-24 20:04:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-29 09:54:55 -0400 |
commit | 5ce1a4368bafbd2ed50b1953658fca285cfd349b (patch) | |
tree | 9609d2ee90371ee0393a95f5fe67d27b5621257c /webapp/components/removed_from_channel_modal.jsx | |
parent | bf636404d25e943d869a32d8fe145eaa57a64039 (diff) | |
download | chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.tar.gz chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.tar.bz2 chat-5ce1a4368bafbd2ed50b1953658fca285cfd349b.zip |
Refactoring center panel away. Moving tutorial to a route. Fixing a
bunch of bugs.
Diffstat (limited to 'webapp/components/removed_from_channel_modal.jsx')
-rw-r--r-- | webapp/components/removed_from_channel_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/removed_from_channel_modal.jsx b/webapp/components/removed_from_channel_modal.jsx index cdd51bd6e..45018ac99 100644 --- a/webapp/components/removed_from_channel_modal.jsx +++ b/webapp/components/removed_from_channel_modal.jsx @@ -6,7 +6,7 @@ import ReactDOM from 'react-dom'; import ChannelStore from 'stores/channel_store.jsx'; import UserStore from 'stores/user_store.jsx'; import BrowserStore from 'stores/browser_store.jsx'; -import * as utils from 'utils/utils.jsx'; +import * as GlobalActions from 'action_creators/global_actions.jsx'; import {FormattedMessage} from 'react-intl'; @@ -33,7 +33,7 @@ export default class RemovedFromChannelModal extends React.Component { } var townSquare = ChannelStore.getByName('town-square'); - setTimeout(() => utils.switchChannel(townSquare), 1); + setTimeout(() => GlobalActions.emitChannelClickEvent(townSquare), 1); this.setState(newState); } |