aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/useDeviceAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/attributes/useDeviceAttributes.js')
-rw-r--r--modern/src/attributes/useDeviceAttributes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/attributes/useDeviceAttributes.js b/modern/src/attributes/useDeviceAttributes.js
index 33213212..f33fc065 100644
--- a/modern/src/attributes/useDeviceAttributes.js
+++ b/modern/src/attributes/useDeviceAttributes.js
@@ -1,6 +1,6 @@
import { useMemo } from 'react';
-export default (t) => useMemo({
+export default (t) => useMemo(() => ({
speedLimit: {
name: t('attributeSpeedLimit'),
type: 'string',
@@ -9,4 +9,4 @@ export default (t) => useMemo({
name: t('attributeReportIgnoreOdometer'),
type: 'boolean',
},
-}, [t]);
+}), [t]);