From c3cb995e86de10a5990e7be3f022212d4f73d1f2 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 25 Mar 2024 03:10:32 +0200 Subject: [PATCH] Remove unused makeStyles import and inline paper styling in TimelineComponent.js --- .../features/about/timeline/TimelineComponent.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/frontend/src/features/about/timeline/TimelineComponent.js b/frontend/src/features/about/timeline/TimelineComponent.js index 463ca31..734a171 100644 --- a/frontend/src/features/about/timeline/TimelineComponent.js +++ b/frontend/src/features/about/timeline/TimelineComponent.js @@ -1,6 +1,5 @@ import React from "react"; import PropTypes from "prop-types"; -import { makeStyles } from "@mui/material/styles"; import Timeline from "@mui/lab/Timeline"; import TimelineItem from "@mui/lab/TimelineItem"; import TimelineSeparator from "@mui/lab/TimelineSeparator"; @@ -55,14 +54,7 @@ const timelineDotVariants = [ { color: "secondary", variant: "outlined" } ]; -const useStyles = makeStyles(() => ({ - paper: { - padding: "6px 16px" - } -})); - const TimelineComponent = ({ releases }) => { - const classes = useStyles(); const { t } = useTranslation(); const _releases = releases.map((release, index) => { @@ -90,7 +82,12 @@ const TimelineComponent = ({ releases }) => { {!release.isLast && } - + {release.notes[0]}