aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main/MainMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/main/MainMap.js')
-rw-r--r--modern/src/main/MainMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainMap.js b/modern/src/main/MainMap.js
index 273a7787..3b57c745 100644
--- a/modern/src/main/MainMap.js
+++ b/modern/src/main/MainMap.js
@@ -30,7 +30,7 @@ const MainMap = ({ filteredPositions, selectedPosition, onEventsClick }) => {
const features = useFeatures();
const onMarkerClick = useCallback((_, deviceId) => {
- dispatch(devicesActions.select(deviceId));
+ dispatch(devicesActions.selectId(deviceId));
}, [dispatch]);
return (