From fa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 6 May 2022 15:05:31 -0700 Subject: Fix style issues --- modern/src/UserPage.js | 2 +- modern/src/admin/ServerPage.js | 2 +- modern/src/attributes/useUserAttributes.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modern/src') diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js index 89e04dde..cb643b8a 100644 --- a/modern/src/UserPage.js +++ b/modern/src/UserPage.js @@ -123,7 +123,7 @@ const UserPage = () => { setItem({ ...item, attributes: { ...item.attributes, timezone: e.target.value } })} endpoint="/api/server/timezones" keyGetter={(it) => it} diff --git a/modern/src/admin/ServerPage.js b/modern/src/admin/ServerPage.js index 139de08e..19a5c993 100644 --- a/modern/src/admin/ServerPage.js +++ b/modern/src/admin/ServerPage.js @@ -146,7 +146,7 @@ const ServerPage = () => { setItem({ ...item, attributes: { ...item.attributes, timezone: e.target.value } })} endpoint="/api/server/timezones" keyGetter={(it) => it} diff --git a/modern/src/attributes/useUserAttributes.js b/modern/src/attributes/useUserAttributes.js index 9275596b..fa6d7d8f 100644 --- a/modern/src/attributes/useUserAttributes.js +++ b/modern/src/attributes/useUserAttributes.js @@ -5,7 +5,7 @@ export default (t) => useMemo(() => ({ name: t('attributeNotificationTokens'), type: 'string', }, - /*'web.liveRouteLength': { + /* 'web.liveRouteLength': { name: t('attributeWebLiveRouteLength'), type: 'number', }, @@ -44,5 +44,5 @@ export default (t) => useMemo(() => ({ 'ui.hidePositionAttributes': { name: t('attributeUiHidePositionAttributes'), type: 'string', - },*/ + }, */ }), [t]); -- cgit v1.2.3