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

import {connect} from 'react-redux';
import {getCommands} from 'mattermost-redux/selectors/entities/integrations';

import ConfirmIntegration from './confirm_integration.jsx';

function mapStateToProps(state, ownProps) {
    return {
        ...ownProps,
        commands: getCommands(state)
    };
}

export default connect(mapStateToProps)(ConfirmIntegration);