diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-27 11:18:42 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-27 11:18:42 +0530 |
commit | 127a2628b61b0a151eb5225af7ecaf483f907665 (patch) | |
tree | cc596678a30c0c50d1a99831e30839cd964ed501 /modern/src/store/commands.js | |
parent | 2d5ec8721c2d9ae3d519dd5ff267a05b5f1ab96b (diff) | |
download | etbsa-traccar-web-127a2628b61b0a151eb5225af7ecaf483f907665.tar.gz etbsa-traccar-web-127a2628b61b0a151eb5225af7ecaf483f907665.tar.bz2 etbsa-traccar-web-127a2628b61b0a151eb5225af7ecaf483f907665.zip |
Deleting somne of the stores
Diffstat (limited to 'modern/src/store/commands.js')
-rw-r--r-- | modern/src/store/commands.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/modern/src/store/commands.js b/modern/src/store/commands.js deleted file mode 100644 index d18d609..0000000 --- a/modern/src/store/commands.js +++ /dev/null @@ -1,16 +0,0 @@ -import { createSlice } from '@reduxjs/toolkit'; - -const { reducer, actions } = createSlice({ - name: 'commands', - initialState: { - items: {}, - }, - reducers: { - update(state, action) { - action.payload.forEach(item => state.items[item['id']] = item); - }, - } -}); - -export { actions as commandsActions }; -export { reducer as commandsReducer }; |