diff --git a/frontend/src/features/machines/components/MachineTableRow.js b/frontend/src/features/machines/components/MachineTableRow.js index 189e3af..055a8f9 100644 --- a/frontend/src/features/machines/components/MachineTableRow.js +++ b/frontend/src/features/machines/components/MachineTableRow.js @@ -2,27 +2,23 @@ import React from "react"; import PropTypes from "prop-types"; import { TableCell, TableRow, IconButton, Collapse } from "@mui/material"; import { KeyboardArrowDown, KeyboardArrowUp } from "@mui/icons-material"; -import { makeStyles } from "@mui/material/styles"; import MachineCollapsedContent from "./common/MachineCollapsedContent"; import { useSensitiveInfo } from "../../../hooks"; import ActionsGroup from "./common/ActionsGroup"; -const useRowStyles = makeStyles({ - root: { - "& > *": { - borderBottom: "unset" - } - } -}); - const MachineTableRow = ({ machine, actions, logs, addLog }) => { const [open, setOpen] = React.useState(false); - const classes = useRowStyles(); const { mask } = useSensitiveInfo(); return ( - + *": { + borderBottom: "unset" + } + }} + > setOpen(!open)}> {open ? : }