From e7995f3b7a6b0828b81bebaf556ef7afb59bef61 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 11 Jun 2022 18:32:36 -0700 Subject: Automatically add map keys --- modern/src/common/attributes/useCommonUserAttributes.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modern/src/common/attributes/useCommonUserAttributes.js') diff --git a/modern/src/common/attributes/useCommonUserAttributes.js b/modern/src/common/attributes/useCommonUserAttributes.js index c17b5c5d..c1c7d981 100644 --- a/modern/src/common/attributes/useCommonUserAttributes.js +++ b/modern/src/common/attributes/useCommonUserAttributes.js @@ -1,6 +1,18 @@ import { useMemo } from 'react'; export default (t) => useMemo(() => ({ + locationIqKey: { + name: t('mapLocationIqKey'), + type: 'string', + }, + mapboxAccessToken: { + name: t('mapMapboxKey'), + type: 'string', + }, + mapTilerKey: { + name: t('mapMapTilerKey'), + type: 'string', + }, notificationTokens: { name: t('attributeNotificationTokens'), type: 'string', -- cgit v1.2.3