diff options
Diffstat (limited to 'modern/src/attributes/usePositionAttributes.js')
-rw-r--r-- | modern/src/attributes/usePositionAttributes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/attributes/usePositionAttributes.js b/modern/src/attributes/usePositionAttributes.js index 825ec363..7b33720a 100644 --- a/modern/src/attributes/usePositionAttributes.js +++ b/modern/src/attributes/usePositionAttributes.js @@ -1,6 +1,6 @@ import { useMemo } from 'react'; -export default (t) => useMemo({ +export default (t) => useMemo(() => ({ raw: { name: t('positionRaw'), type: 'string', @@ -18,4 +18,4 @@ export default (t) => useMemo({ type: 'number', dataType: 'distance', }, -}, [t]); +}), [t]); |