diff options
Diffstat (limited to 'modern/src/attributes/geofenceAttributes.js')
-rw-r--r-- | modern/src/attributes/geofenceAttributes.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/attributes/geofenceAttributes.js b/modern/src/attributes/geofenceAttributes.js index 5f197de..d9f512f 100644 --- a/modern/src/attributes/geofenceAttributes.js +++ b/modern/src/attributes/geofenceAttributes.js @@ -1,8 +1,8 @@ -import t from '../LocalizationProvider'; +import { useMemo } from 'react'; -export default { +export const useGeofenceAttributes = (t) => useMemo({ speedLimit: { name: t('attributeSpeedLimit'), type: 'string', }, -}; +}, [t]); |