aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/GeofencesValue.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/GeofencesValue.js')
-rw-r--r--modern/src/common/components/GeofencesValue.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/modern/src/common/components/GeofencesValue.js b/modern/src/common/components/GeofencesValue.js
deleted file mode 100644
index 4808a8a2..00000000
--- a/modern/src/common/components/GeofencesValue.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { useSelector } from 'react-redux';
-
-const GeofencesValue = ({ geofenceIds }) => {
- const geofences = useSelector((state) => state.geofences.items);
-
- return geofenceIds.map((id) => geofences[id]?.name).join(', ');
-};
-
-export default GeofencesValue;