From 127a2628b61b0a151eb5225af7ecaf483f907665 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Tue, 27 Apr 2021 11:18:42 +0530 Subject: Deleting somne of the stores --- modern/src/store/computedAttributes.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 modern/src/store/computedAttributes.js (limited to 'modern/src/store/computedAttributes.js') diff --git a/modern/src/store/computedAttributes.js b/modern/src/store/computedAttributes.js deleted file mode 100644 index d9e3531..0000000 --- a/modern/src/store/computedAttributes.js +++ /dev/null @@ -1,16 +0,0 @@ -import { createSlice } from '@reduxjs/toolkit'; - -const { reducer, actions } = createSlice({ - name: 'computedAttributes', - initialState: { - items: {}, - }, - reducers: { - update(state, action) { - action.payload.forEach(item => state.items[item['id']] = item); - }, - } -}); - -export { actions as computedAttributesActions }; -export { reducer as computedAttributesReducer }; -- cgit v1.2.3