aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useGeofenceAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/attributes/useGeofenceAttributes.js')
-rw-r--r--modern/src/common/attributes/useGeofenceAttributes.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/modern/src/common/attributes/useGeofenceAttributes.js b/modern/src/common/attributes/useGeofenceAttributes.js
deleted file mode 100644
index a5cd068b..00000000
--- a/modern/src/common/attributes/useGeofenceAttributes.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import { useMemo } from 'react';
-
-export default (t) => useMemo(() => ({
- color: {
- name: t('attributeColor'),
- type: 'string',
- },
- speedLimit: {
- name: t('attributeSpeedLimit'),
- type: 'number',
- subtype: 'speed',
- },
- polylineDistance: {
- name: t('attributePolylineDistance'),
- type: 'number',
- subtype: 'distance',
- },
-}), [t]);