Commit 39ca658b authored by Joram Wilander's avatar Joram Wilander Committed by Harrison Healey

Use correct leave channel action (#2129)

parent 66ee4784
......@@ -3,7 +3,8 @@
import {bindActionCreators} from 'redux';
import {connect} from 'react-redux';
import {leaveChannel} from 'mattermost-redux/actions/channels';
import {leaveChannel} from 'actions/views/channel';
import LeaveChannel from './leave_channel';
......
......@@ -5,7 +5,6 @@ import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {savePreferences} from 'mattermost-redux/actions/preferences';
import {leaveChannel} from 'mattermost-redux/actions/channels';
import {
getCurrentChannelId,
......@@ -23,6 +22,7 @@ import {displayUsername} from 'mattermost-redux/utils/user_utils';
import {Constants, NotificationLevels, StoragePrefixes} from 'utils/constants.jsx';
import {leaveChannel} from 'actions/views/channel';
import {open as openLhs} from 'actions/views/lhs.js';
import {getPostDraft} from 'selectors/rhs';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment