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