aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reducers
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-02 23:11:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-02 23:11:09 +1300
commit396abfe03f85f294d911d8362b7afce5600620c6 (patch)
treec61e207a696e843f3088dfa621fea2e09a04a926 /modern/src/reducers
parentcabb500189f027bc64d6b62bde9cf017efa4c0d4 (diff)
downloadtrackermap-web-396abfe03f85f294d911d8362b7afce5600620c6.tar.gz
trackermap-web-396abfe03f85f294d911d8362b7afce5600620c6.tar.bz2
trackermap-web-396abfe03f85f294d911d8362b7afce5600620c6.zip
Update map icons
Diffstat (limited to 'modern/src/reducers')
-rw-r--r--modern/src/reducers/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reducers/index.js b/modern/src/reducers/index.js
index 962d83c2..ac592bfe 100644
--- a/modern/src/reducers/index.js
+++ b/modern/src/reducers/index.js
@@ -9,12 +9,12 @@ function rootReducer(state = initialState, action) {
case 'UPDATE_DEVICES':
return Object.assign({}, {
...state,
- devices: [...state.devices, ...action.devices]
+ devices: [...action.devices]
});
case 'UPDATE_POSITIONS':
return Object.assign({}, {
...state,
- positions: [...state.positions, ...action.positions]
+ positions: [...action.positions]
});
default:
return state;