From 76b2bf64f34930986288c104b2ef1f02f33f861e Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 1 Apr 2024 00:30:18 +0300 Subject: [PATCH] Update TimelineComponent and CacheSettingsComponent --- .../src/features/about/timeline/TimelineComponent.js | 2 +- .../features/settings/system/CacheSettingsComponent.js | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/src/features/about/timeline/TimelineComponent.js b/frontend/src/features/about/timeline/TimelineComponent.js index 734a171..d8eb446 100644 --- a/frontend/src/features/about/timeline/TimelineComponent.js +++ b/frontend/src/features/about/timeline/TimelineComponent.js @@ -65,7 +65,7 @@ const TimelineComponent = ({ releases }) => { }); return ( - + {_releases.map(release => ( diff --git a/frontend/src/features/settings/system/CacheSettingsComponent.js b/frontend/src/features/settings/system/CacheSettingsComponent.js index 4a3bbca..98a2e5d 100644 --- a/frontend/src/features/settings/system/CacheSettingsComponent.js +++ b/frontend/src/features/settings/system/CacheSettingsComponent.js @@ -5,14 +5,6 @@ import { useTranslation } from "react-i18next"; import { PaperTitle } from "components/common"; import { usePermissions } from "hooks"; -const styles = { - content: { - "& > *": { - margin: 1 - } - } -}; - const CacheSettingsComponent = ({ onResetCache }) => { const { t } = useTranslation(); const { sysAdmin } = usePermissions(); @@ -20,7 +12,7 @@ const CacheSettingsComponent = ({ onResetCache }) => { return ( - +