From c75dbd5410dd0eed2576afdedcfeb6082b4f7225 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 3 Sep 2021 09:57:50 -0700 Subject: Fix lint issues --- modern/src/attributes/useGeofenceAttributes.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modern/src/attributes/useGeofenceAttributes.js (limited to 'modern/src/attributes/useGeofenceAttributes.js') diff --git a/modern/src/attributes/useGeofenceAttributes.js b/modern/src/attributes/useGeofenceAttributes.js new file mode 100644 index 00000000..3c17755e --- /dev/null +++ b/modern/src/attributes/useGeofenceAttributes.js @@ -0,0 +1,8 @@ +import { useMemo } from 'react'; + +export default (t) => useMemo({ + speedLimit: { + name: t('attributeSpeedLimit'), + type: 'string', + }, +}, [t]); -- cgit v1.2.3