summaryrefslogtreecommitdiffstats
path: root/webapp/components/quick_switch_modal/index.js
blob: ad5d1dd7c728095437ebf96bd8ea0344bfb63f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

import {connect} from 'react-redux';

import QuickSwitchModal from './quick_switch_modal.jsx';

function mapStateToProps(state, ownProps) {
    return {
        ...ownProps,
        showTeamSwitcher: false
    };
}

export default connect(mapStateToProps)(QuickSwitchModal);