diff --git a/interface/src/components/ButtonRow.tsx b/interface/src/components/ButtonRow.tsx index 01c7aafb7..f8f9a0002 100644 --- a/interface/src/components/ButtonRow.tsx +++ b/interface/src/components/ButtonRow.tsx @@ -1,26 +1,24 @@ -import type { FC } from 'react'; +import { memo } from 'react'; import { Box } from '@mui/material'; import type { BoxProps } from '@mui/material'; -const ButtonRow: FC = ({ children, ...rest }) => ( +const ButtonRow = memo(({ children, ...rest }) => ( {children} -); +)); + +ButtonRow.displayName = 'ButtonRow'; export default ButtonRow;