From a9b528d1f5d08fd051c1f3cb2be9ecae43ce718f Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 25 Mar 2024 02:47:50 +0200 Subject: [PATCH] Refactor AboutSystemContainer component --- .../about/system/AboutSystemContainer.js | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/frontend/src/features/about/system/AboutSystemContainer.js b/frontend/src/features/about/system/AboutSystemContainer.js index 8ef7188..3396f98 100644 --- a/frontend/src/features/about/system/AboutSystemContainer.js +++ b/frontend/src/features/about/system/AboutSystemContainer.js @@ -1,35 +1,32 @@ import React from "react"; -import { makeStyles } from "@mui/material/styles"; +import { Box } from "@mui/material"; import AboutSystemComponent from "./AboutSystemComponent"; import SystemVersionContainer from "./SystemVersionContainer"; -const useStyles = makeStyles(theme => { - return { - page: { - display: "flex", - flexDirection: "column" - }, - element: { - marginTop: theme.spacing(1) - } - }; -}); +const styles = { + page: { + display: "flex", + flexDirection: "column" + }, + element: { + marginTop: 1 + } +}; const AboutSystemContainer = () => { - const classes = useStyles(); - const handleOpenInNewTab = url => event => { window.open(url, "_blank"); event.preventDefault(); }; return ( -
+ -
+ -
-
+ + ); }; + export default AboutSystemContainer;