diff options
Diffstat (limited to 'webapp/plugins/pluggable/index.js')
-rw-r--r-- | webapp/plugins/pluggable/index.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/webapp/plugins/pluggable/index.js b/webapp/plugins/pluggable/index.js deleted file mode 100644 index d00f18a5d..000000000 --- a/webapp/plugins/pluggable/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import {connect} from 'react-redux'; -import {getTheme} from 'mattermost-redux/selectors/entities/preferences'; - -import Pluggable from './pluggable.jsx'; - -function mapStateToProps(state, ownProps) { - return { - ...ownProps, - components: state.plugins.components, - theme: getTheme(state) - }; -} - -export default connect(mapStateToProps)(Pluggable); |