aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useDeviceAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/attributes/useDeviceAttributes.js')
-rw-r--r--modern/src/common/attributes/useDeviceAttributes.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/modern/src/common/attributes/useDeviceAttributes.js b/modern/src/common/attributes/useDeviceAttributes.js
deleted file mode 100644
index eab9b8f6..00000000
--- a/modern/src/common/attributes/useDeviceAttributes.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import { useMemo } from 'react';
-
-export default (t) => useMemo(() => ({
- 'web.reportColor': {
- name: t('attributeWebReportColor'),
- type: 'string',
- subtype: 'color',
- },
- devicePassword: {
- name: t('attributeDevicePassword'),
- type: 'string',
- },
- deviceImage: {
- name: t('attributeDeviceImage'),
- type: 'string',
- },
- 'processing.copyAttributes': {
- name: t('attributeProcessingCopyAttributes'),
- type: 'string',
- },
- 'decoder.timezone': {
- name: t('sharedTimezone'),
- type: 'string',
- },
- deviceInactivityStart: {
- name: t('attributeDeviceInactivityStart'),
- type: 'number',
- },
- deviceInactivityPeriod: {
- name: t('attributeDeviceInactivityPeriod'),
- type: 'number',
- },
-}), [t]);