import PropTypes from 'prop-types' import React from 'react' import UnitTabsComponent from './UnitTabsComponent' import DeleteMachine from './DeleteMachine' import { TextContent, TextList, TextListItem, TextListItemVariants, TextListVariants, Title, } from '@patternfly/react-core' import { useSelector } from 'react-redux' const MachineSidebarComponent = ({ machineId }) => { const machine = useSelector((state) => state.objects.machine[machineId]) return (