diff options
Diffstat (limited to 'webapp/reducers/plugins/index.js')
-rw-r--r-- | webapp/reducers/plugins/index.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/webapp/reducers/plugins/index.js b/webapp/reducers/plugins/index.js deleted file mode 100644 index 9cad72715..000000000 --- a/webapp/reducers/plugins/index.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import {combineReducers} from 'redux'; -import {ActionTypes} from 'utils/constants.jsx'; - -function components(state = {}, action) { - switch (action.type) { - case ActionTypes.RECEIVED_PLUGIN_COMPONENTS: { - if (action.data) { - return {...action.data, ...state}; - } - return state; - } - default: - return state; - } -} - -export default combineReducers({ - components -}); |