diff options
Diffstat (limited to 'webapp/components/integrations/components/commands_container/index.js')
-rw-r--r-- | webapp/components/integrations/components/commands_container/index.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/webapp/components/integrations/components/commands_container/index.js b/webapp/components/integrations/components/commands_container/index.js deleted file mode 100644 index ed0a4c138..000000000 --- a/webapp/components/integrations/components/commands_container/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import {connect} from 'react-redux'; -import {bindActionCreators} from 'redux'; -import {getCustomTeamCommands} from 'mattermost-redux/actions/integrations'; - -import {getCommands} from 'mattermost-redux/selectors/entities/integrations'; -import {getUsers} from 'mattermost-redux/selectors/entities/users'; - -import CommandsContainer from './commands_container.jsx'; - -function mapStateToProps(state, ownProps) { - return { - ...ownProps, - commands: Object.values(getCommands(state)), - users: getUsers(state) - }; -} - -function mapDispatchToProps(dispatch) { - return { - actions: bindActionCreators({ - getCustomTeamCommands - }, dispatch) - }; -} - -export default connect(mapStateToProps, mapDispatchToProps)(CommandsContainer);
\ No newline at end of file |