aboutsummaryrefslogtreecommitdiff
path: root/modern/src/store/maintenances.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/store/maintenances.js')
-rw-r--r--modern/src/store/maintenances.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/modern/src/store/maintenances.js b/modern/src/store/maintenances.js
deleted file mode 100644
index 0f5e41d1..00000000
--- a/modern/src/store/maintenances.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { createSlice } from '@reduxjs/toolkit';
-
-const { reducer, actions } = createSlice({
- name: 'maintenances',
- initialState: {
- items: {},
- },
- reducers: {
- refresh(state, action) {
- state.items = {};
- action.payload.forEach((item) => state.items[item.id] = item);
- },
- },
-});
-
-export { actions as maintenancesActions };
-export { reducer as maintenancesReducer };