diff --git a/striker-ui/components/BriefNetworkInterface.tsx b/striker-ui/components/BriefNetworkInterface.tsx index 091938d9..5622de51 100644 --- a/striker-ui/components/BriefNetworkInterface.tsx +++ b/striker-ui/components/BriefNetworkInterface.tsx @@ -9,7 +9,6 @@ import { Close as MUICloseIcon } from '@mui/icons-material'; import { BLACK, BORDER_RADIUS, GREY } from '../lib/consts/DEFAULT_THEME'; -import Decorator from './Decorator'; import { BodyText } from './Text'; type BriefNetworkInterfaceOptionalProps = { @@ -32,7 +31,7 @@ const BriefNetworkInterface: FC< } > = ({ isFloating, - networkInterface: { networkInterfaceName, networkInterfaceState }, + networkInterface: { networkInterfaceName }, onClose, sx: rootSx, ...restRootProps @@ -54,9 +53,9 @@ const BriefNetworkInterface: FC< sx: { display: 'flex', flexDirection: 'row', + alignItems: 'center', '& > :not(:first-child)': { - alignSelf: 'center', marginLeft: '.5em', }, @@ -67,10 +66,6 @@ const BriefNetworkInterface: FC< ...restRootProps, }} > - {onClose && (