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